ansible-machine-setup/roles/user-account/tasks/main.yaml

11 lines
223 B
YAML
Raw Normal View History

2020-05-31 10:17:10 +00:00
---
- name: setup user account
user:
name: "{{ username }}"
password: "{{ password }}"
generate_ssh_key: yes
create_home: yes
state: present
update_password: always
register: account