Add user to sudo group

master
Michael Mandl 2020-11-11 15:23:14 +01:00 committed by Michael Mandl
parent e4bd137dda
commit d1c0257d8c
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 1 additions and 1 deletions

View File

@ -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