system_is_container updates

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-01-18 13:17:57 +00:00
parent 29c02f4c42
commit 9b6c06e930
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB
3 changed files with 4 additions and 1 deletions

View file

@ -6,6 +6,7 @@
state: present
when:
- rhel9cis_rule_3_4_1_1
- not system_is_container
tags:
- level1-server
- level1-workstation

View file

@ -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

View file

@ -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