merge from main

This commit is contained in:
willtome
2023-03-13 10:34:14 -04:00
11 changed files with 795 additions and 222 deletions

View File

@@ -1,17 +1,17 @@
---
- name: Run PowerShell
hosts: "{{ _hosts | default('os_windows') }}"
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
- name: Run PowerShell
ansible.windows.win_powershell:
script: |
{{ ps_script }}
register: ps_output
- name: Print output
ansible.builtin.debug:
msg: "{{ ps_output.output }}"
- name: Print output
ansible.builtin.debug:
msg: "{{ ps_output.output }}"