mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 14:23:05 +00:00
fix: idempotency molecule issue fixed for logfiles #173
Signed-off-by: rjacobs1990 <ricardojacobs20@gmail.com>
This commit is contained in:
parent
3fe681c0d2
commit
c805ee398b
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: "{% if item.mode != '0600' %}0640{% endif %}"
|
||||
loop: "{{ logfiles.files }}"
|
||||
loop_control:
|
||||
label: "{{ item.path }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue