mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2026-05-09 23:33:53 +00:00
updated pkg and mask logic
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
53561fbf08
commit
420e036a56
1 changed files with 2 additions and 2 deletions
|
|
@ -72,8 +72,8 @@
|
|||
- NIST800-53R5_AU-12
|
||||
ansible.builtin.systemd:
|
||||
name: "{{ item }}"
|
||||
state: "{{ ('systemd-journal-remote' in ansible_facts.packages) | ternary('stopped', omit) }}"
|
||||
enabled: "{{ ('systemd-journal-remote' in ansible_facts.packages) | ternary(false, omit) }}"
|
||||
state: "{{ ('systemd-journal-upload' in ansible_facts.packages) | ternary('stopped', omit) }}"
|
||||
enabled: "{{ ('systemd-journal-upload' 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