2023-11-21 09:48:49 +00:00
|
|
|
---
|
2025-06-19 16:26:01 +01:00
|
|
|
|
|
|
|
|
- name: Audit_only | Fetch audit files
|
|
|
|
|
when:
|
|
|
|
|
- fetch_audit_output
|
|
|
|
|
- audit_only
|
|
|
|
|
ansible.builtin.import_tasks:
|
|
|
|
|
file: fetch_audit_output.yml
|
2023-11-21 09:48:49 +00:00
|
|
|
|
|
|
|
|
- name: Audit_only | Show Audit Summary
|
2024-12-11 11:20:00 +00:00
|
|
|
when: audit_only
|
2023-11-21 09:48:49 +00:00
|
|
|
ansible.builtin.debug:
|
2024-07-24 14:01:40 +01:00
|
|
|
msg: "{{ audit_results.split('\n') }}"
|
2023-11-21 09:48:49 +00:00
|
|
|
|
2025-06-19 16:26:01 +01:00
|
|
|
- name: Audit_only | Stop task for host as audit_only selected
|
2024-12-11 11:20:00 +00:00
|
|
|
when: audit_only
|
2025-06-19 16:26:01 +01:00
|
|
|
ansible.builtin.meta: end_host
|