Skip to content

Commit

Permalink
moved check_mode
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Nov 1, 2024
1 parent aa0be1c commit 744f42e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/fix-cat2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4427,9 +4427,9 @@

- name: "MEDIUM | RHEL-07-041010 | AUDIT | check if wifi is enabled"
ansible.builtin.shell: nmcli radio wifi
check_mode: false
changed_when: false
failed_when: rhel_07_wifi_enabled.rc not in [ 0, 1 ]
check_mode: false
register: rhel_07_wifi_enabled
when:
- discovered_wireless_adapters.rc == 0
Expand Down

0 comments on commit 744f42e

Please sign in to comment.