Skip to content

Commit

Permalink
Disable testing of audit in docker
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Schurz <[email protected]>
  • Loading branch information
schurzi committed Oct 4, 2024
1 parent 4c87d29 commit 2b495bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion molecule/os_hardening/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,14 @@
http_proxy: "{{ lookup('env', 'http_proxy') | default(omit) }}"
https_proxy: "{{ lookup('env', 'https_proxy') | default(omit) }}"
no_proxy: "{{ lookup('env', 'no_proxy') | default(omit) }}"
vars:
os_auditd_enabled: false
os_env_umask: "027 #override"
tasks:
# test if variable can be overridden
- name: Workaround for https://github.com/ansible/ansible/issues/66304
ansible.builtin.set_fact:
ansible_virtualization_type: docker
os_env_umask: "027 #override"

- name: Include os_hardening role
ansible.builtin.include_role:
Expand Down

0 comments on commit 2b495bf

Please sign in to comment.