put the task in a job which will run on the right system
This commit is contained in:
parent
48dc00ae84
commit
14d9cbde02
3 changed files with 12 additions and 8 deletions
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
- name: clean sss caches
|
||||
command: sss_cache -E
|
||||
- name: deep clean sss caches
|
||||
shell: systemctl restart sssd && sss_cache -E
|
||||
|
||||
- name: restart sssd
|
||||
shell: systemctl restart sssd
|
||||
|
|
|
@ -40,9 +40,3 @@
|
|||
loop: "{{ ipa_server_host_groups_hosts }}"
|
||||
when: ipa_server_host_groups_hosts is defined
|
||||
|
||||
- name: Ensure that nss knows to skip certain users
|
||||
copy: src=fedora-nss-ignore.conf dest=/etc/sssd/conf.d/ mode=600 owner=root group=root
|
||||
tags:
|
||||
- ipa/client
|
||||
- config
|
||||
notify: deep clean sss caches
|
||||
|
|
|
@ -70,3 +70,12 @@
|
|||
- ipa/client
|
||||
- config
|
||||
run_once: yes
|
||||
|
||||
- name: Ensure that nss knows to skip certain users
|
||||
copy: src=fedora-nss-ignore.conf dest=/etc/sssd/conf.d/ mode=600 owner=root group=root
|
||||
tags:
|
||||
- ipa/client
|
||||
- config
|
||||
notify:
|
||||
- restart sssd
|
||||
- clean sss caches
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue