Thu, 15 Jun 2017 20:52:21 -0400
edit
17 | 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 |