File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
roles/os_hardening/handlers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 13
13
ignore_errors : " {{ ansible_check_mode }}"
14
14
when :
15
15
- molecule_yml.driver.name | default() != "docker" # restarting auditd in a container does not work
16
- - not ansible_facts.os_family == 'RedHat' or ansible_facts.distribution == 'AlmaLinux'
16
+ - not ansible_facts.os_family == 'RedHat'
17
17
18
18
- name : Restart auditd via service # noqa command-instead-of-module no-changed-when
19
19
ansible.builtin.command :
20
20
cmd : service auditd restart # rhel: see: https://access.redhat.com/solutions/2664811
21
21
when :
22
22
- molecule_yml.driver.name | default() != "docker" # restarting auditd in a container does not work
23
- - ansible_facts.os_family == 'RedHat' and not ansible_facts.distribution == 'AlmaLinux'
23
+ - ansible_facts.os_family == 'RedHat'
24
24
25
25
- name : Remount filesystems
26
26
ansible.posix.mount :
You can’t perform that action at this time.
0 commit comments