roles/sudo/tasks/main.yml@a6f157cdf20e
roles/sudo/tasks/main.yml
Sun, 14 Jul 2019 03:28:13 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Sun, 14 Jul 2019 03:28:13 -0500
- changeset 91
- a6f157cdf20e
- parent 89
-
86248a83a3dd
- permissions
- -rw-r--r--
simplify package installs
---
- name: sudo package
package:
name: sudo
state: present
tags: packages, install
- name: sudo group
group:
name: sudo
state: present
system: yes
- name: sudo permission for sudoers
lineinfile:
dest: /etc/sudoers
state: present
regexp: '^%sudo'
line: '%sudo ALL=(ALL:ALL) ALL'