--- - 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 }}"