Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
samba
Commits
5a9e8594
Commit
5a9e8594
authored
May 20, 2017
by
Lars Beckers
Browse files
ad-auth: do not deploy mkhomedir on clients
parent
cab25b66
Changes
1
Hide whitespace changes
Inline
Side-by-side
ad-auth/tasks/pam.yml
View file @
5a9e8594
---
# file: roles/ad-auth/tasks/pam.yml
-
name
:
ensure our pam-configs are deployed
copy
:
src=pam/{{ item }} dest=/usr/share/pam-configs/{{ item }} owner=root group=root mode=0644
with_items
:
-
mkhomedir
-
umask
-
name
:
ensure pam applies a general umask
copy
:
src=pam/umask dest=/usr/share/pam-configs/umask owner=root group=root mode=0644
notify
:
-
regenerate pam config
tags
:
-
pam
-
config
-
name
:
ensure pam creates a home dir if necessary
copy
:
src=pam/mkhomedir dest=/usr/share/pam-configs/mkhomedir owner=root group=root mode=0644
when
:
"
'clients'
not
in
group_names"
notify
:
-
regenerate pam config
tags
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment