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

View File

@@ -3,11 +3,11 @@
hosts: "{{ HOSTS | default('windows') }}"
gather_facts: false
vars:
remote_dest: "C:\\sample_script.ps1"
remote_dest: "C:\\query_services.ps1"
tasks:
- name: Copy script to remote
ansible.windows.win_copy:
src: "{{playbook_dir}}/sample_script.ps1"
src: "{{playbook_dir}}/query_services.ps1"
dest: "{{ remote_dest }}"
- name: Run Script