Update roles/os_hardening/tasks/minimize_access.yml

This commit is contained in:
Sebastian Gumprich 2022-07-14 15:03:34 +02:00 committed by GitHub
parent 9d6903e7ad
commit 862edbbe40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,7 +229,9 @@
owner: 'root'
group: 'root'
mode: '{{ os_mnt_var_log_audit_dir_mode }}'
when: var_log_audit_exists.stat.exists | bool
when:
- var_log_audit_exists.stat.exists | bool
- os_auditd_enabled | bool
- name: Mount /var/tmp with hardened options
mount: