Files
ansible-collection-hardening/roles/os_hardening/handlers/main.yml
T
2021-03-29 21:15:46 +02:00

10 lines
365 B
YAML

---
- name: Update-initramfs
command: 'update-initramfs -u'
- name: restart-auditd
command:
cmd: 'service auditd restart' # rhel: see: https://access.redhat.com/solutions/2664811
warn: false # sadly 'service' module fails in that case also by using 'use: service'
when: molecule_yml is not defined # restarting auditd in a container does not work