forked from ansible-lockdown/RHEL9-CIS
udpated output 1.1.1.9
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
fd97459b6a
commit
7875e1f6b5
1 changed files with 1 additions and 3 deletions
|
|
@ -300,9 +300,7 @@
|
||||||
- name: "1.1.1.9 | AUDIT | Ensure unused filesystems kernel modules are not available | Output Warning"
|
- name: "1.1.1.9 | AUDIT | Ensure unused filesystems kernel modules are not available | Output Warning"
|
||||||
when: discovered_fs_modules_loaded.stdout | length > 0
|
when: discovered_fs_modules_loaded.stdout | length > 0
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: |
|
msg: "{{ ['Warning!! Discovered loaded Filesystem modules that need attention. This is a manual task'] + discovered_fs_modules_loaded.stdout_lines }}"
|
||||||
"Warning!! Discovered loaded Filesystem modules that need attention. This is a manual task
|
|
||||||
{{ discovered_fs_modules_loaded.stdout_lines}}"
|
|
||||||
|
|
||||||
- name: "1.1.1.9 | AUDIT | Ensure unused filesystems kernel modules are not available | Capture Warning"
|
- name: "1.1.1.9 | AUDIT | Ensure unused filesystems kernel modules are not available | Capture Warning"
|
||||||
when: discovered_fs_modules_loaded.stdout | length > 0
|
when: discovered_fs_modules_loaded.stdout | length > 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue