Skip to content

Commit

Permalink
audit only moved to prelim
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Apr 23, 2024
1 parent c3aa20a commit dc46e98
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,23 +92,6 @@
- prelim_tasks
- always

- name: Include audit specific variables
when:
- run_audit or audit_only
- setup_audit
tags:
- setup_audit
- run_audit
ansible.builtin.include_vars: audit.yml

- name: Include pre-remediation audit tasks
when:
- run_audit or audit_only
- setup_audit
tags:
- run_audit
ansible.builtin.import_tasks: pre_remediation_audit.yml

- name: Run Section 1 tasks
when:
- amzn2023cis_section1
Expand Down
17 changes: 17 additions & 0 deletions tasks/prelim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
# Preliminary tasks that should always be run
# List users in order to look files inside each home directory

- name: Include audit specific variables
when:
- run_audit or audit_only
- setup_audit
tags:
- setup_audit
- run_audit
ansible.builtin.include_vars: audit.yml

- name: Include pre-remediation audit tasks
when:
- run_audit or audit_only
- setup_audit
tags:
- run_audit
ansible.builtin.import_tasks: pre_remediation_audit.yml

- name: "PRELIM | AUDIT | Interactive Users"
tags:
- always
Expand Down

0 comments on commit dc46e98

Please sign in to comment.