Skip to content
Snippets Groups Projects
Commit 5a9e8594 authored by Lars Beckers's avatar Lars Beckers
Browse files

ad-auth: do not deploy mkhomedir on clients

parent cab25b66
Branches
No related tags found
No related merge requests found
--- ---
# file: roles/ad-auth/tasks/pam.yml # file: roles/ad-auth/tasks/pam.yml
- name: ensure our pam-configs are deployed - name: ensure pam applies a general umask
copy: src=pam/{{ item }} dest=/usr/share/pam-configs/{{ item }} owner=root group=root mode=0644 copy: src=pam/umask dest=/usr/share/pam-configs/umask owner=root group=root mode=0644
with_items: notify:
- mkhomedir - regenerate pam config
- umask 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: notify:
- regenerate pam config - regenerate pam config
tags: tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment