re add home directory creation

This commit is contained in:
Patrick Neff 2022-01-23 02:32:39 +01:00
parent cc8f2e665d
commit 738674f20d
1 changed files with 7 additions and 0 deletions

View File

@ -14,6 +14,13 @@
gid: "{{ user.gid | default(omit) }}"
update_password: on_create
- name: "Create home directory for user '{{ user.username }}'."
tags: users
ansible.builtin.user:
name: "{{ user.username }}"
create_home: yes
when: ldap_uris is defined and ldap_uris | length > 0
- name: "Create sudoers file for user '{{ user.username }}'."
tags: users,sudo
ansible.builtin.template: