mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 07:23:07 +00:00
Added OS_specific vars
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
44f305c66b
commit
1e7e5e2194
2 changed files with 7 additions and 1 deletions
|
|
@ -84,6 +84,11 @@
|
|||
tags:
|
||||
- always
|
||||
|
||||
- name: Include OS specific variables
|
||||
include_vars: "{{ ansible_distribution }}.yml"
|
||||
tags:
|
||||
- always
|
||||
|
||||
- name: Include preliminary steps
|
||||
import_tasks: prelim.yml
|
||||
tags:
|
||||
|
|
@ -105,6 +110,7 @@
|
|||
include_tasks: parse_etc_password.yml
|
||||
when: rhel9cis_section6
|
||||
tags:
|
||||
- rule_5.5.2
|
||||
- rhel9cis_section6
|
||||
|
||||
- name: run Section 1 tasks
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
- rule_1.2.2
|
||||
|
||||
- name: "1.2.3 | L1 | AUDIT | Ensure GPG keys are configured"
|
||||
shell: gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-{{ ansible_distribution|lower }}-release
|
||||
shell: gpg --quiet --with-fingerprint "{{ rpm_gpg_key }}"
|
||||
args:
|
||||
warn: false
|
||||
when:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue