diff options
Diffstat (limited to 'clarkzjw.ca/config/atlas/roles')
-rw-r--r-- | clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml | 1 | ||||
-rw-r--r-- | clarkzjw.ca/config/atlas/roles/init/tasks/main.yaml | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml b/clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml index 0eefdef..845af8d 100644 --- a/clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml +++ b/clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml | |||
@@ -20,6 +20,7 @@ | |||
20 | - unzip | 20 | - unzip |
21 | - gnupg | 21 | - gnupg |
22 | - rsync | 22 | - rsync |
23 | - sudo | ||
23 | - htop | 24 | - htop |
24 | - curl | 25 | - curl |
25 | - tree | 26 | - tree |
diff --git a/clarkzjw.ca/config/atlas/roles/init/tasks/main.yaml b/clarkzjw.ca/config/atlas/roles/init/tasks/main.yaml index 35284bd..eb3f03b 100644 --- a/clarkzjw.ca/config/atlas/roles/init/tasks/main.yaml +++ b/clarkzjw.ca/config/atlas/roles/init/tasks/main.yaml | |||
@@ -2,10 +2,8 @@ | |||
2 | group: | 2 | group: |
3 | name: wheel | 3 | name: wheel |
4 | state: present | 4 | state: present |
5 | become_user: root | ||
6 | 5 | ||
7 | - name: Allow 'wheel' group to have passwordless sudo | 6 | - name: Allow 'wheel' group to have passwordless sudo |
8 | become_user: root | ||
9 | lineinfile: | 7 | lineinfile: |
10 | dest: /etc/sudoers | 8 | dest: /etc/sudoers |
11 | state: present | 9 | state: present |
@@ -14,7 +12,6 @@ | |||
14 | validate: visudo -cf %s | 12 | validate: visudo -cf %s |
15 | 13 | ||
16 | - name: Add sudoers users to wheel group | 14 | - name: Add sudoers users to wheel group |
17 | become_user: root | ||
18 | user: | 15 | user: |
19 | name: clarkzjw | 16 | name: clarkzjw |
20 | groups: wheel | 17 | groups: wheel |