lmn-client/fvs-home.yml
Andreas B. Mundt 7238875d0c Further split roles. Mount user home on the clients (sshfs).
The following roles are available:
 fvs-sssd
   Configures LDAP as ID and AUTH provider using sssd.
 fvs-mount
   Provides all private user directories on login with pam_mount.

Machines provided so far are:
  The server providing the home directory: fvs-home.yml
  A standard client: fvs-client.yml
2020-12-18 09:28:26 +01:00

20 lines
446 B
YAML

---
- name: apply configuration to the home server
hosts: all
remote_user: ansible
become: yes
vars:
extra_pkgs:
- vim
extra_pkgs_bpo: [ ] # [ libreoffice ]
roles:
- up2date-debian
- fvs-sssd
tasks:
- name: enable pam_mkhomedir.so
lineinfile:
dest: /etc/pam.d/common-session
line: "session optional pam_mkhomedir.so umask=0027"
insertbefore: "session optional pam_mount.so"