Commit 70709ca4 authored by Francesco Gionghi's avatar Francesco Gionghi
Browse files

improve mkhomedir

parent 615c0479
......@@ -3,5 +3,5 @@
pam-mkhomedir:
cmd.run:
- name: export DEBIAN_FRONTEND=noninteractive;/usr/sbin/pam-auth-update --package --enable mkhomedir
\ No newline at end of file
- name: {{sssd.mkhomedir.command}}
- unless: grep mkhomedir {{ sssd.mkhomedir.checkfile }}
\ No newline at end of file
......@@ -23,6 +23,9 @@ Ubuntu:
- realmd
- sssd
command: realm
mkhomedir:
checkfile: /etc/pam.d/common-session
command: export DEBIAN_FRONTEND=noninteractive;/usr/sbin/pam-auth-update --package --enable mkhomedir
# os_family: RedHat
Fedora: {}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment