You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
410 B
YAML

---
- name: Configure system user {{ system_user }}
user:
state: present
name: "{{ system_user }}"
system: yes
shell: "{{ user_shell_binary }}"
home: "{{ user_directory }}"
- name: Configure user directory
file:
path: "{{ user_directory }}"
state: directory
owner: "{{ user_directory_owner }}"
group: "{{ user_directory_group }}"
mode: "{{ user_directory_mode }}"