diff options
author | clarkzjw <[email protected]> | 2023-01-13 14:01:26 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-01-13 14:01:26 -0800 |
commit | a67514529bf51b776feeb1724ff23079b9549718 (patch) | |
tree | ddebae93031942eea5dc0d5f25c298e0e60ebbcc /clarkzjw.ca/config/atlas/roles/init/tasks/main.yaml | |
parent | 12ebe13899b44122739418e96f0422ef15b28330 (diff) | |
download | homelab-a67514529bf51b776feeb1724ff23079b9549718.tar.gz |
fix init
Diffstat (limited to 'clarkzjw.ca/config/atlas/roles/init/tasks/main.yaml')
-rw-r--r-- | clarkzjw.ca/config/atlas/roles/init/tasks/main.yaml | 3 |
1 files changed, 0 insertions, 3 deletions
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 |