Add user to sudo group
This commit is contained in:
parent
e4bd137dda
commit
d1c0257d8c
@ -3,10 +3,10 @@
|
||||
user:
|
||||
name: "{{ username }}"
|
||||
password: "{{ password }}"
|
||||
generate_ssh_key: yes
|
||||
create_home: yes
|
||||
state: present
|
||||
update_password: always
|
||||
groups: sudo
|
||||
register: account
|
||||
|
||||
- name: ensure .ssh exists
|
||||
|
Reference in New Issue
Block a user