Skip to content

Commit 9228db0

Browse files
committed
Add path to audit handler
Signed-off-by: Martin Schurz <[email protected]>
1 parent 505a395 commit 9228db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/os_hardening/handlers/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
- name: Restart auditd via service # noqa command-instead-of-module no-changed-when
1919
ansible.builtin.command:
20-
cmd: service auditd restart # rhel: see: https://access.redhat.com/solutions/2664811
20+
cmd: /usr/sbin/service auditd restart # rhel: see: https://access.redhat.com/solutions/2664811
2121
when:
2222
- molecule_yml.driver.name | default() != "docker" # restarting auditd in a container does not work
2323
- ansible_facts.os_family == 'RedHat'

0 commit comments

Comments
 (0)