forked from ansible-lockdown/RHEL9-CIS
use new variable gpg_key_variable
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
c061a35b31
commit
3de7cd2f56
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue