mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 07:23:07 +00:00
system_is_container updates
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
29c02f4c42
commit
9b6c06e930
3 changed files with 4 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
|||
state: present
|
||||
when:
|
||||
- rhel9cis_rule_3_4_1_1
|
||||
- not system_is_container
|
||||
tags:
|
||||
- level1-server
|
||||
- level1-workstation
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
when:
|
||||
- not rhel9cis_skip_for_travis
|
||||
- rhel9cis_rule_4_1_1_2
|
||||
- ansible_connection != 'docker'
|
||||
- not system_is_container
|
||||
tags:
|
||||
- level2-server
|
||||
- level2-workstation
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
- name: "SECTION | 4.1| Configure System Accounting (auditd)"
|
||||
include_tasks: cis_4.1.1.x.yml
|
||||
when:
|
||||
- not system_is_container
|
||||
|
||||
- name: "SECTION | 4.1.2.x| Configure Data Retention"
|
||||
include_tasks: cis_4.1.2.x.yml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue