From 3de7cd2f56a45799a425236bb94d70790525cfae Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Mon, 6 Mar 2023 11:21:33 +0000 Subject: [PATCH] use new variable gpg_key_variable Signed-off-by: Mark Bolwell --- tasks/prelim.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/prelim.yml b/tasks/prelim.yml index 97e9e99..e674fb6 100644 --- a/tasks/prelim.yml +++ b/tasks/prelim.yml @@ -120,11 +120,12 @@ - name: "PRELIM | Update to latest gpg keys" ansible.builtin.package: - name: "{{ ansible_distribution | lower }}-gpg-keys" + name: "{{ gpg_key_package }}" state: latest when: - rhel9cis_rule_1_2_4 - ansible_distribution != 'RedHat' + - ansible_distribution != 'OracleLinux' - name: "PRELIM | Section 4.1 | Configure System Accounting (auditd)" ansible.builtin.package: