File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
roles/os_hardening/handlers Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 5959 - python3-libselinux
6060 when : ansible_facts.distribution == 'Fedora'
6161
62+ - name : Install required tools on AlmaLinux
63+ ansible.builtin.dnf :
64+ name :
65+ - initscripts
66+ when : ansible_facts.distribution == 'AlmaLinux'
67+
6268 - name : Install required tools on Arch
6369 community.general.pacman :
6470 name :
Original file line number Diff line number Diff line change 1717
1818- name : Restart auditd via service # noqa command-instead-of-module no-changed-when
1919 ansible.builtin.command :
20- cmd : /usr/sbin/ service auditd restart # rhel: see: https://access.redhat.com/solutions/2664811
20+ 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
2323 - ansible_facts.os_family == 'RedHat'
You can’t perform that action at this time.
0 commit comments