Merge pull request #427 from dev-sec/snoopotic-fix/add_auditd_restart_handler

add restart-auditd handler after configuration change
This commit is contained in:
schurzi authored and GitHub committed 2021-03-29 21:15:46 +02:00
commit 2882a15ee1
6 files changed
+13 -4

No files matched your search

+6
View File
@@ -1,3 +1,9 @@
---
- 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