Clean up FvS playbooks and add VM server playbook.
This commit is contained in:
parent
42d3fa4c25
commit
080356bfa4
4 changed files with 30 additions and 27 deletions
21
fvs-home-server.yml
Normal file
21
fvs-home-server.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
## This playbook deploys a FvS home server machine.
|
||||
---
|
||||
- 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