mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
17 lines
403 B
YAML
17 lines
403 B
YAML
---
|
|
|
|
- name: Audit_only | Fetch audit files
|
|
when:
|
|
- fetch_audit_output
|
|
- audit_only
|
|
ansible.builtin.import_tasks:
|
|
file: fetch_audit_output.yml
|
|
|
|
- name: Audit_only | Show Audit Summary
|
|
when: audit_only
|
|
ansible.builtin.debug:
|
|
msg: "{{ audit_results.split('\n') }}"
|
|
|
|
- name: Audit_only | Stop task for host as audit_only selected
|
|
when: audit_only
|
|
ansible.builtin.meta: end_host
|