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 1313 ignore_errors : " {{ ansible_check_mode }}"
1414 when :
1515 - 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'
1717
1818- name : Restart auditd via service # noqa command-instead-of-module no-changed-when
1919 ansible.builtin.command :
2020 cmd : 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
23- - ansible_facts.os_family == 'RedHat' and not ansible_facts.distribution == 'AlmaLinux'
23+ - ansible_facts.os_family == 'RedHat'
2424
2525- name : Remount filesystems
2626 ansible.posix.mount :
You can’t perform that action at this time.
0 commit comments