update windows stuff

This commit is contained in:
willtome
2022-09-09 13:03:31 -04:00
parent 2b613bcac8
commit 240774c2c3
4 changed files with 22 additions and 10 deletions

16
windows/powershell.yml Normal file
View File

@@ -0,0 +1,16 @@
---
- name: Run PowerShell
hosts: "{{ HOSTS | default('windows') }}"
gather_facts: false
vars:
ps_script: undef
tasks:
- name: Run PowerShell
ansible.windows.win_powershell:
script: |
{{ ps_script }}
register: ps_output
- debug:
msg: "{{ ps_output.output }}"