Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final Workflow Pass Threw #36

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ long_running: false
# 18.9.97.2.2
# 18.9.97.2.3
# 18.9.98.1
win_skip_for_test: false
win_skip_for_test: true

#### Basic external audit enablement settings ####
#### Precise details - per setting can be found at the bottom of this file ####
Expand All @@ -83,13 +83,13 @@ setup_audit: false
### The individual exe is required on the remote host
## This can be copied or downloaded
# paths can be changed at the bottom of the role
download_audit_exe: true
download_audit_exe: false
copy_audit_exe: false

# download audit content
download_goss_config: true
download_goss_config: false

# enable audits to run - this runs the audit and get the latest content
# enable audits to run - this runs the audit and get the latest content
run_audit: false

# output location for the audit
Expand Down
3 changes: 3 additions & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ galaxy_info:
namespace: mindpointgroup
min_ansible_version: 2.6

# The galaxy api currently supports only Win 2008R2, 2008x64, 2008x86,
# 2012, 2012R2, 2016, and 2019 versions. And using anything else will lower
# galaxy score.
platforms:
- name: Windows
versions:
Expand Down
5 changes: 2 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
tags:
- always

- name: Gather distribution info
- name: Gather Distribution Info
ansible.builtin.setup:
gather_subset: distribution,!all,!min
when:
Expand Down Expand Up @@ -39,8 +39,7 @@

- name: Run Audit
ansible.builtin.import_tasks: run_audit.yml
when:
- run_audit
when: run_audit
vars:
audit_time: pre
tags:
Expand Down
2 changes: 1 addition & 1 deletion tasks/run_audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Copied pre and post to capture output files.
- name: copy the template used by ansible for consistent checks
ansible.windows.win_template:
src: ansible_vars_goss.yml.j2
src: templates/ansible_vars_goss.yml.j2
dest: "{{ goss_vars_path }}"
when:
- audit_time == 'pre'
Expand Down
Loading