mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2026-03-25 22:37:11 +00:00
added ability to fetch audit and update title
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
3be331c0d2
commit
d2de2783a8
1 changed files with 9 additions and 2 deletions
|
|
@ -1,10 +1,17 @@
|
|||
---
|
||||
|
||||
- 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 Playbook Audit Only selected
|
||||
- name: Audit_only | Stop task for host as audit_only selected
|
||||
when: audit_only
|
||||
ansible.builtin.meta: end_play
|
||||
ansible.builtin.meta: end_host
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue