mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
line tidy up
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
226f2bc9b9
commit
cc2f734d57
1 changed files with 1 additions and 4 deletions
|
|
@ -27,14 +27,11 @@
|
|||
failed_when: false
|
||||
register: os_installed_pub_keys
|
||||
|
||||
# - debug:
|
||||
# msg: "{{ os_installed_pub_keys }}"
|
||||
|
||||
- name: "1.2.2 | AUDIT | Ensure GPG keys are configured | Query found keys"
|
||||
shell: "rpm -q --queryformat \"%{PACKAGER} %{VERSION}\\n\" {{ os_gpg_key_pubkey_name }} | grep \"{{ os_gpg_key_pubkey_content }}\""
|
||||
register: os_gpg_key_check
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
register: os_gpg_key_check
|
||||
when: os_installed_pub_keys.rc == 0
|
||||
|
||||
- name: "1.2.2 | AUDIT | Ensure GPG keys are configured | expected keys pass"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue