Commit 86de1435 authored by Rafael Monnerat's avatar Rafael Monnerat

Ensure sudo is installed for VMs

parent 7c576747
---
- name: Ensure sudo is installed
apt: name=sudo state=latest update_cache=yes cache_valid_time=3600
when: ansible_os_family == "Debian"
- name: Ensure sudo is installed (yum)
yum: name=sudo state=latest update_cache=yes
when: ansible_os_family == "RedHat"
- name: Ensure /etc/sudoers.d directory is present
file: path=/etc/sudoers.d state=directory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment