mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2026-05-10 07:33:54 +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
|
|
@ -105,6 +105,6 @@
|
|||
notify: Systemd daemon reload
|
||||
ansible.builtin.systemd:
|
||||
name: bluetooth.service
|
||||
enabled: false
|
||||
state: stopped
|
||||
enabled: "{{ ('bluez' in ansible_facts.packages) | ternary(false, omit) }}"
|
||||
state: "{{ ('bluez' in ansible_facts.packages) | ternary('stopped', omit) }}"
|
||||
masked: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue