Skip to content

Commit

Permalink
Galaxy Fix & Tags
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Williams <stephenw@mindpointgroup.com>
  • Loading branch information
MrSteve81 committed Feb 21, 2025
1 parent f1bbcd0 commit 1d72ff5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
10 changes: 5 additions & 5 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ galaxy_info:
- windowssecurity
- windowsserver
- windows10
collections:
- ansible.windows
- community.windows
- community.general
dependencies: []
collections:
- ansible.windows
- community.windows
- community.general
dependencies: []
7 changes: 6 additions & 1 deletion tasks/prelim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,24 @@
- not ansible_virtualization_type == 'VMware' or
(ansible_system_vendor == 'Microsoft Corporation' and
ansible_virtualization_type in ['Hyper-V', 'hvm', 'kvm'])
tags: always
tags:
- always

- name: PRELIM | Check Hyper-V Installation
ansible.windows.win_shell: Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All | Select-Object -Property State | ft -hide
changed_when: false
failed_when: false
register: discovered_hyper_v_installed
tags:
- always

- name: PRELIM | Check For Windows Defender Application Guard Status
ansible.windows.win_shell: Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All | Select-Object -Property State | ft -hide
changed_when: false
failed_when: false
register: discovered_wdag_enabled
tags:
- always

- name: PRELIM | Get Windows installation type
ansible.windows.win_reg_stat:
Expand Down

0 comments on commit 1d72ff5

Please sign in to comment.