mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-14 22:36:09 +08:00
put the task in a job which will run on the right system
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user