Skip to content

Commit

Permalink
Merge pull request #241 from ansible-lockdown/standards
Browse files Browse the repository at this point in the history
tidy up layout and titles
  • Loading branch information
uk-bolly authored Aug 13, 2024
2 parents aebf95e + 139c0e4 commit ab15aab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tasks/audit_only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tasks/prelim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ab15aab

Please sign in to comment.