Skip to content
Snippets Groups Projects
Commit 953822cd authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

use listen directive for handlers

parent 9e7973c6
No related branches found
No related tags found
No related merge requests found
Pipeline #3965 failed
......@@ -5,17 +5,20 @@
file:
path: /var/lib/pam/
state: "{{ item }}"
mode: 0755
mode: "0755"
owner: root
group: root
with_items:
- absent
- directory
listen: "regenerate pam config"
- name: regenerate pam config
shell: rm -f /var/lib/pam/* && pam-auth-update --force
- name: update pam
command: pam-auth-update --force
environment:
DEBIAN_FRONTEND: noninteractive
listen: "regenerate pam config"
- name: clear sssd cache
command: sss_cache -E
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment