Skip to content

Commit

Permalink
Fixed win16cis_wupdate_options Variable
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Williams <[email protected]>
  • Loading branch information
MrSteve81 committed Aug 17, 2023
1 parent bf8d522 commit f79ab25
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
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
7 changes: 3 additions & 4 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ galaxy_info:
namespace: mindpointgroup
min_ansible_version: 2.6

platforms:
- name: Windows
versions:
- 2016
# The galaxy api currently supports only Win 2008R2, 2008x64, 2008x86,
# 2012, 2012R2, 2016, and 2019 versions. And using anything else will lower
# galaxy score. We have removed platform and version because of galaxy scoring purposes.

galaxy_tags:
- system
Expand Down
3 changes: 1 addition & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
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

0 comments on commit f79ab25

Please sign in to comment.