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

11 lines
359 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'
tags:
- molecule-notest # restarting auditd in a container does not work