mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2026-03-25 14:27:12 +00:00
fixed tags and audit logic
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
eb9c96f335
commit
c7567a98ac
1 changed files with 10 additions and 2 deletions
|
|
@ -4,7 +4,9 @@
|
|||
# List users in order to look up files inside each home directory
|
||||
|
||||
- name: "PRELIM | Include audit specific variables"
|
||||
when: run_audit or audit_only or setup_audit
|
||||
when:
|
||||
- run_audit or audit_only
|
||||
- setup_audit
|
||||
tags:
|
||||
- setup_audit
|
||||
- run_audit
|
||||
|
|
@ -12,7 +14,8 @@
|
|||
file: audit.yml
|
||||
|
||||
- name: "PRELIM | Include pre-remediation audit tasks"
|
||||
when: run_audit or audit_only or setup_audit
|
||||
when:
|
||||
- run_audit or audit_only
|
||||
tags: run_audit
|
||||
ansible.builtin.import_tasks: pre_remediation_audit.yml
|
||||
|
||||
|
|
@ -92,6 +95,11 @@
|
|||
- rhel9cis_rule_1_2_1_1
|
||||
- ansible_facts.distribution != 'RedHat'
|
||||
- ansible_facts.distribution != 'OracleLinux'
|
||||
tags:
|
||||
- level1-server
|
||||
- level1-workstation
|
||||
- rule_1.2.1.1
|
||||
- gpg
|
||||
ansible.builtin.package:
|
||||
name: "{{ gpg_key_package }}"
|
||||
state: latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue