From 139c0e460a68b8d0540f05be7fe70114942b1003 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Tue, 13 Aug 2024 13:25:26 +0100 Subject: [PATCH] tidy up layout and titles Signed-off-by: Mark Bolwell --- tasks/audit_only.yml | 4 ++-- tasks/prelim.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/audit_only.yml b/tasks/audit_only.yml index ab5a573..4f60834 100644 --- a/tasks/audit_only.yml +++ b/tasks/audit_only.yml @@ -2,8 +2,8 @@ - name: Audit_Only | Create local Directories for hosts ansible.builtin.file: - mode: '0755' path: "{{ audit_capture_files_dir }}/{{ inventory_hostname }}" + mode: '0755' recurse: true state: directory when: fetch_audit_files @@ -13,9 +13,9 @@ - name: Audit_only | Get audits from systems and put in group dir ansible.builtin.fetch: dest: "{{ audit_capture_files_dir }}/{{ inventory_hostname }}/" + src: "{{ pre_audit_outfile }}" flat: true mode: '0644' - src: "{{ pre_audit_outfile }}" when: fetch_audit_files - name: Audit_only | Show Audit Summary diff --git a/tasks/prelim.yml b/tasks/prelim.yml index e307520..c72db65 100644 --- a/tasks/prelim.yml +++ b/tasks/prelim.yml @@ -99,7 +99,7 @@ - skip_ansible_lint - always -- name: Include audit specific variables +- name: "PRELIM | Include audit specific variables" ansible.builtin.include_vars: audit.yml when: - run_audit or audit_only @@ -108,7 +108,7 @@ - setup_audit - run_audit -- name: Include pre-remediation audit tasks +- name: "PRELIM | Include pre-remediation audit tasks" ansible.builtin.import_tasks: pre_remediation_audit.yml when: - run_audit or audit_only