reduce testing on vm

Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
Martin Schurz committed 2022-07-11 16:08:35 +02:00
1 parent c81ce23ed7
commit 27d091e871
2 files changed
-14

No files matched your search

-1
View File
@@ -19,6 +19,5 @@
os_auth_pam_passwdqc_enable: false
os_auth_lockout_time: 15
os_yum_repo_file_whitelist: ['foo.repo']
os_ctrlaltdel_disabled: true
os_mnt_boot_enabled: true
os_mnt_boot_src: "/dev/vda1"
-13
View File
@@ -68,16 +68,3 @@
fail:
msg: "Inspec failed to validate"
when: test_results.rc != 0
# test if variable can be overridden
- name: workaround for https://github.com/ansible/ansible/issues/66304
set_fact:
os_env_umask: "027 #override"
- include_role:
name: os_hardening
- name: verify os_env_umask
shell:
cmd: "grep '027 #override' /etc/login.defs"
changed_when: false