Skip to content

Commit

Permalink
updated var naming
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Nov 20, 2023
1 parent f5a2802 commit b03f94e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ run_audit: false
audit_only: false
# As part of audit_only
# This will enable files to be copied back to control node
capture_audit_files: false
fetch_audit_files: false
# Path to copy the files to will create dir structure
audit_capture_files_dir: /some/location to copy to on control node

Expand Down
4 changes: 2 additions & 2 deletions tasks/audit_only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
path: "{{ audit_capture_files_dir }}/{{ inventory_hostname }}"
recurse: true
state: directory
when: capture_audit_files
when: fetch_audit_files
delegate_to: localhost
become: false

Expand All @@ -16,7 +16,7 @@
flat: true
mode: '0644'
src: "{{ pre_audit_outfile }}"
when: capture_audit_files
when: fetch_audit_files

- name: Audit_only | Show Audit Summary
when:
Expand Down

0 comments on commit b03f94e

Please sign in to comment.