mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 07:23:07 +00:00
logic in container check
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
f14b3a37ad
commit
21875f5790
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@
|
||||||
- system_is_container
|
- system_is_container
|
||||||
when:
|
when:
|
||||||
- ansible_connection == 'docker' or
|
- ansible_connection == 'docker' or
|
||||||
ansible_virtualization_type not in ["docker", "lxc", "openvz", "podman", "container"]
|
ansible_virtualization_type in ["docker", "lxc", "openvz", "podman", "container"]
|
||||||
tags:
|
tags:
|
||||||
- container_discovery
|
- container_discovery
|
||||||
- always
|
- always
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue