Use variable instead of group membership to install localhome
Use variable localhome to determines whether the localhome module is installed. Default: localhome=false Further changes: - Move pam-exec from common-auth to common-session - Move pam-mkhomedir before pam-mount to avoid double login on first use on localhome devices
This commit is contained in:
parent
3d01394820
commit
9f1c60eefd
8 changed files with 487 additions and 424 deletions
|
@ -60,7 +60,7 @@
|
|||
><not><or><user>root</user><user>ansible</user><user>Debian-gdm</user><user>sddm</user><user>{{ localuser }}</user></or></not>
|
||||
</volume>
|
||||
insertafter: "<!-- END ANSIBLE MANAGED BLOCK .* -->"
|
||||
when: "'localhome' in group_names"
|
||||
when: localhome is defined and localhome
|
||||
|
||||
- name: Use umount script for proper cleanup
|
||||
blockinfile:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue