4
0
Fork 0

use new variable gpg_key_variable

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2023-03-06 11:21:33 +00:00
parent c061a35b31
commit 3de7cd2f56
No known key found for this signature in database
GPG key ID: 1DE02A772D0908F9

View file

@ -120,11 +120,12 @@
- name: "PRELIM | Update to latest gpg keys" - name: "PRELIM | Update to latest gpg keys"
ansible.builtin.package: ansible.builtin.package:
name: "{{ ansible_distribution | lower }}-gpg-keys" name: "{{ gpg_key_package }}"
state: latest state: latest
when: when:
- rhel9cis_rule_1_2_4 - rhel9cis_rule_1_2_4
- ansible_distribution != 'RedHat' - ansible_distribution != 'RedHat'
- ansible_distribution != 'OracleLinux'
- name: "PRELIM | Section 4.1 | Configure System Accounting (auditd)" - name: "PRELIM | Section 4.1 | Configure System Accounting (auditd)"
ansible.builtin.package: ansible.builtin.package: