From 7f48dbd2c4782b0eb692700c1825977b01643a6d Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Fri, 13 Jan 2023 13:59:53 +0000 Subject: [PATCH] added gpg-key update Signed-off-by: Mark Bolwell --- tasks/prelim.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/prelim.yml b/tasks/prelim.yml index eaae1a3..c33afe3 100644 --- a/tasks/prelim.yml +++ b/tasks/prelim.yml @@ -99,6 +99,13 @@ grub2_path: /etc/grub2-efi.cfg when: rhel_09_efi_boot.stat.exists +- name: "PRELIM | Update to latest gpg keys" + ansible.builtin.package: + name: "{{ ansible_distribution | lower }}-gpg-keys" + state: latest + when: + - rhel9cis_rule_1_2_4 + - name: "PRELIM | Section 4.1 | Configure System Accounting (auditd)" ansible.builtin.package: name: audit