Don't try to add user to sudo unconditionally
This commit is contained in:
parent
8cc22ac56f
commit
848d07f70f
@ -6,7 +6,6 @@
|
|||||||
name: "{{ user_username }}"
|
name: "{{ user_username }}"
|
||||||
shell: "{{ user_shell }}"
|
shell: "{{ user_shell }}"
|
||||||
password: "{{ user_password }}"
|
password: "{{ user_password }}"
|
||||||
groups: sudo
|
|
||||||
append: yes
|
append: yes
|
||||||
become: yes
|
become: yes
|
||||||
- name: Add user to sudo
|
- name: Add user to sudo
|
||||||
|
Loading…
Reference in New Issue
Block a user