diff options
-rw-r--r-- | clarkzjw.ca/config/atlas/init.yaml | 4 | ||||
-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 |
3 files changed, 3 insertions, 5 deletions
diff --git a/clarkzjw.ca/config/atlas/init.yaml b/clarkzjw.ca/config/atlas/init.yaml index d8c8ef9..3226121 100644 --- a/clarkzjw.ca/config/atlas/init.yaml +++ b/clarkzjw.ca/config/atlas/init.yaml | |||
@@ -1,8 +1,8 @@ | |||
1 | --- | 1 | --- |
2 | - name: Init | 2 | - name: Init |
3 | hosts: storinator | 3 | hosts: storinator |
4 | remote_user: clarkzjw | 4 | remote_user: root |
5 | gather_facts: false | 5 | gather_facts: true |
6 | 6 | ||
7 | roles: | 7 | roles: |
8 | - role: init | 8 | - role: init |
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 |