mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-26 15:13:05 +00:00
container var usage improvement
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
33ebfea653
commit
b0e038bd45
1 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@
|
||||||
modprobe:
|
modprobe:
|
||||||
name: cramfs
|
name: cramfs
|
||||||
state: absent
|
state: absent
|
||||||
when: ansible_connection != 'docker'
|
when: not system_is_container
|
||||||
when:
|
when:
|
||||||
- rhel9cis_rule_1_1_1_1
|
- rhel9cis_rule_1_1_1_1
|
||||||
tags:
|
tags:
|
||||||
|
|
@ -39,7 +39,7 @@
|
||||||
modprobe:
|
modprobe:
|
||||||
name: squashfs
|
name: squashfs
|
||||||
state: absent
|
state: absent
|
||||||
when: ansible_connection != 'docker'
|
when: not system_is_container
|
||||||
when:
|
when:
|
||||||
- rhel9cis_rule_1_1_1_2
|
- rhel9cis_rule_1_1_1_2
|
||||||
tags:
|
tags:
|
||||||
|
|
@ -64,7 +64,7 @@
|
||||||
modprobe:
|
modprobe:
|
||||||
name: udf
|
name: udf
|
||||||
state: absent
|
state: absent
|
||||||
when: ansible_connection != 'docker'
|
when: not system_is_container
|
||||||
when:
|
when:
|
||||||
- rhel9cis_rule_1_1_1_3
|
- rhel9cis_rule_1_1_1_3
|
||||||
tags:
|
tags:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue