We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 505a395 commit 9228db0Copy full SHA for 9228db0
roles/os_hardening/handlers/main.yml
@@ -17,7 +17,7 @@
17
18
- name: Restart auditd via service # noqa command-instead-of-module no-changed-when
19
ansible.builtin.command:
20
- cmd: service auditd restart # rhel: see: https://access.redhat.com/solutions/2664811
+ cmd: /usr/sbin/service auditd restart # rhel: see: https://access.redhat.com/solutions/2664811
21
when:
22
- molecule_yml.driver.name | default() != "docker" # restarting auditd in a container does not work
23
- ansible_facts.os_family == 'RedHat'
0 commit comments