mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 14:23:05 +00:00
Merge pull request #175 from rjacobs1990/bugfix/fix-permissions-logfiles
fix: idempotency molecule issue fixed for logfiles #173
This commit is contained in:
commit
06ec3de5c4
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
- name: "4.2.3 | PATCH | Ensure permissions on all logfiles are configured | change permissions"
|
||||
ansible.builtin.file:
|
||||
path: "{{ item.path }}"
|
||||
mode: '0640'
|
||||
mode: "{{ '0600' if item.mode == '0600' else '0640' }}"
|
||||
loop: "{{ logfiles.files }}"
|
||||
loop_control:
|
||||
label: "{{ item.path }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue