mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
updated yamllint, company naming, linting and spacing
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
1b694832bb
commit
2de8a39cdc
66 changed files with 461 additions and 675 deletions
|
|
@ -40,7 +40,7 @@
|
|||
block:
|
||||
- name: "3.1.2 | PATCH | Ensure wireless interfaces are disabled | Check for network-manager tool"
|
||||
when: "'network-manager' in ansible_facts.packages"
|
||||
ansible.builtin.shell: nmcli radio wifi
|
||||
ansible.builtin.command: nmcli radio wifi
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
check_mode: false
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
when:
|
||||
- "'network-manager' in ansible_facts.packages"
|
||||
- "'enabled' in discovered_wifi_status.stdout"
|
||||
ansible.builtin.shell: nmcli radio all off
|
||||
ansible.builtin.command: nmcli radio all off
|
||||
changed_when: discovered_nmcli_radio_off.rc == 0
|
||||
register: discovered_nmcli_radio_off
|
||||
|
||||
|
|
@ -65,8 +65,7 @@
|
|||
file: warning_facts.yml
|
||||
|
||||
- name: "3.1.3 | PATCH | Ensure bluetooth services are not in use"
|
||||
when:
|
||||
- rhel9cis_rule_3_1_3
|
||||
when: rhel9cis_rule_3_1_3
|
||||
tags:
|
||||
- level1-server
|
||||
- level2-workstation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue