Wed, 18 Sep 2019 13:08:53 -0500
rip bitbucket
17 | 1 | --- |
2 | ||
89
86248a83a3dd
apply ansible-lint suggestions
Meredith Howard <mhoward@roomag.org>
parents:
17
diff
changeset
|
3 | - name: sudo package |
86248a83a3dd
apply ansible-lint suggestions
Meredith Howard <mhoward@roomag.org>
parents:
17
diff
changeset
|
4 | package: |
17 | 5 | name: sudo |
89
86248a83a3dd
apply ansible-lint suggestions
Meredith Howard <mhoward@roomag.org>
parents:
17
diff
changeset
|
6 | state: present |
17 | 7 | tags: packages, install |
8 | ||
9 | - name: sudo group | |
10 | group: | |
11 | name: sudo | |
12 | state: present | |
13 | system: yes | |
14 | ||
15 | - name: sudo permission for sudoers | |
16 | lineinfile: | |
17 | dest: /etc/sudoers | |
18 | state: present | |
19 | regexp: '^%sudo' | |
20 | line: '%sudo ALL=(ALL:ALL) ALL' | |
21 |