Provide keytab before touching home directories to avoid lock.

This commit is contained in:
Andreas B. Mundt 2019-11-27 20:45:27 +01:00
parent 7f49b191ac
commit 3670bf6597
2 changed files with 5 additions and 4 deletions

View file

@ -21,5 +21,5 @@
- up2date-debian
- lan-client
## Choose either gnome or KDE:
- gnome
#- gnome
#- kde

View file

@ -56,9 +56,6 @@
mode: 0600
notify: restart sssd
- name: make sure the home mount directory exists
file: path={{ lan_homes }} state=directory recurse=yes
## Activate machine after installation:
- name: create machine principal
@ -76,6 +73,10 @@
notify: "restart rpc-gssd"
when: not run_in_installer|default(false)|bool and kadmin_pwd | length > 0
- name: make sure the home mount directory exists
file: path={{ lan_homes }} state=directory recurse=yes
- name: automount
lineinfile:
dest: /etc/fstab