Skip to content

Commit 076f223

Browse files
committed
Ensure oddjobd is enabled/started
This is required for home directories to be automatically created.
1 parent 440d6f5 commit 076f223

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ansible/roles/sssd/tasks/configure.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,9 @@
2626
- name: Configure nsswitch and PAM for SSSD
2727
command: "authselect select sssd --force{% if sssd_enable_mkhomedir | bool %} with-mkhomedir{% endif %}"
2828
when: "'sssd' not in _authselect_current.stdout"
29+
30+
- name: "Ensure oddjob is started"
31+
service:
32+
name: oddjobd
33+
state: started
34+
enabled: "{{ sssd_enable_mkhomedir }}"

0 commit comments

Comments
 (0)