Gpg import for rhel servers (#185)

* change logic thanks to @rjacobs1990 see #175

* 1.2.1 force gpg import rhel

* fix missing facts

---------

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
Signed-off-by: Pruteanu <ionut.pruteanu@siemens.com>
This commit is contained in:
uk-bolly 2024-03-06 09:10:06 +00:00 committed by Pruteanu
parent 51da48ed2c
commit e2de95206a
No known key found for this signature in database
GPG key ID: 8665D673971C2D62
5 changed files with 37 additions and 3 deletions

View file

@ -65,7 +65,7 @@
ansible.builtin.file:
path: "{{ item.path }}"
mode: "{{ '0600' if item.mode == '0600' else '0640' }}"
loop: "{{ auditd_conf_files.files | default([]) }}"
loop: "{{ auditd_conf_files.files }}"
loop_control:
label: "{{ item.path }}"
when: