mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2026-05-09 23:33:53 +00:00
Improved mask logic and package names
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
201edf02e4
commit
53561fbf08
3 changed files with 16 additions and 16 deletions
|
|
@ -72,8 +72,8 @@
|
|||
- NIST800-53R5_AU-12
|
||||
ansible.builtin.systemd:
|
||||
name: "{{ item }}"
|
||||
state: stopped
|
||||
enabled: false
|
||||
state: "{{ ('systemd-journal-remote' in ansible_facts.packages) | ternary('stopped', omit) }}"
|
||||
enabled: "{{ ('systemd-journal-remote' in ansible_facts.packages) | ternary(false, omit) }}"
|
||||
masked: true
|
||||
loop:
|
||||
- systemd-journal-remote.socket
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue