diff --git a/handlers/main.yml b/handlers/main.yml index ed5c88f5..9ab6cac7 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -57,6 +57,7 @@ # Miscellaneous ############################################################## - name: generate auditd rules command: augenrules --load + notify: restart auditd # This will take a while to complete the first run, so we will fork it into # the background so it doesn't hold up the whole playbook. diff --git a/releasenotes/notes/augenrules-restart-39fe3e1e2de3eaba.yaml b/releasenotes/notes/augenrules-restart-39fe3e1e2de3eaba.yaml new file mode 100644 index 00000000..45311efd --- /dev/null +++ b/releasenotes/notes/augenrules-restart-39fe3e1e2de3eaba.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - The role previously did not restart the audit daemon after generating a + new rules file. The `bug `_ has been + fixed and the audit daemon will be restarted after any audit rule changes.