mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 15:33:06 +00:00
container vars file now a variable
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
dfe92156fe
commit
375847536b
2 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
rhel9cis_skip_for_travis: false
|
rhel9cis_skip_for_travis: false
|
||||||
system_is_container: false
|
system_is_container: false
|
||||||
|
container_vars_file: is_container.yml
|
||||||
# rhel9cis is left off the front of this var for consistency in testing pipeline
|
# rhel9cis is left off the front of this var for consistency in testing pipeline
|
||||||
# system_is_ec2 toggle will disable tasks that fail on Amazon EC2 instances. Set true to skip and false to run tasks
|
# system_is_ec2 toggle will disable tasks that fail on Amazon EC2 instances. Set true to skip and false to run tasks
|
||||||
system_is_ec2: false
|
system_is_ec2: false
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
- name: Load variable for container
|
- name: Load variable for container
|
||||||
include_vars:
|
include_vars:
|
||||||
file: is_container.yml
|
file: "{{ container_vars_file }}"
|
||||||
|
|
||||||
- name: output if discovered is a container
|
- name: output if discovered is a container
|
||||||
debug:
|
debug:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue