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
This commit is contained in:
parent
77c8c26e38
commit
7238875d0c
10 changed files with 91 additions and 88 deletions
20
fvs-home.yml
Normal file
20
fvs-home.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
- 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"
|
Loading…
Add table
Add a link
Reference in a new issue