roles/sudo/tasks/main.yml

changeset 17
d0d9fdf1f9d3
child 89
86248a83a3dd
equal deleted inserted replaced
16:c781422f639f 17:d0d9fdf1f9d3
1 ---
2
3 - package:
4 name: sudo
5 state: latest
6 tags: packages, install
7
8 - name: sudo group
9 group:
10 name: sudo
11 state: present
12 system: yes
13
14 - name: sudo permission for sudoers
15 lineinfile:
16 dest: /etc/sudoers
17 state: present
18 regexp: '^%sudo'
19 line: '%sudo ALL=(ALL:ALL) ALL'
20

mercurial