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.

21 lines
460 B
YAML

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