Skip to content

Commit f002661

Browse files
author
Sebastian Gumprich
committed
Improve Ansible tests
This change adds more tests to check for different variable uses.
1 parent 8da35fb commit f002661

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

playbooks/default.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
---
2+
- name: wrapper playbook for kitchen testing "ansible-os-hardening" with custom vars for testing
3+
hosts: localhost
4+
roles:
5+
- ansible-os-hardening
6+
vars:
7+
os_security_users_allow: change_user
8+
os_security_kernel_enable_core_dump: true
9+
os_security_suid_sgid_remove_from_unknown: true
10+
os_auth_pam_passwdqc_enable: false
11+
os_desktop_enable: true
12+
os_env_extra_user_paths: ['/home']
13+
os_auth_allow_homeless: true
14+
os_security_kernel_enable_core_dump: true
15+
os_security_suid_sgid_blacklist: ['/bin/umount']
16+
os_security_suid_sgid_whitelist: ['/usr/bin/rlogin']
17+
218
- name: wrapper playbook for kitchen testing "ansible-os-hardening"
319
hosts: localhost
420
roles:

0 commit comments

Comments
 (0)