Started to split tasks into roles

This commit is contained in:
Michael Mandl 2020-05-31 12:17:10 +02:00
parent 10088f03c7
commit 8e6e03d55c
6 changed files with 125 additions and 91 deletions

View file

@ -0,0 +1,18 @@
---
- name: install required packages
package:
name:
- zsh
state: latest
- name: setup user account
user:
name: "{{ username }}"
password: "{{ password }}"
generate_ssh_key: yes
create_home: yes
shell: /usr/bin/zsh
state: present
update_password: always
register: account