forked from ansible-lockdown/RHEL9-CIS
Molecule test on container is failing due to modprobe
Signed-off-by: Jay Olinares <jay.olinares@gmail.com>
This commit is contained in:
parent
9d7cfc9661
commit
02c9c76a83
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
||||||
community.general.modprobe:
|
community.general.modprobe:
|
||||||
name: usb-storage
|
name: usb-storage
|
||||||
state: absent
|
state: absent
|
||||||
|
when: not system_is_container
|
||||||
|
|
||||||
- name: "1.1.9 | PATCH | Disable USB Storage | blacklist"
|
- name: "1.1.9 | PATCH | Disable USB Storage | blacklist"
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue