Files
Backup/_NDGOV_CS/ZM1/first-playbook.yml
T
Zack Meier 1d304511b8 update
2026-04-15 15:45:50 -05:00

13 lines
304 B
YAML

---
- name: zm test
hosts: itdscmt1.nd.gov
tasks:
- name: run command
win_command: netstat
- name: Run PowerShell script with parameter
ansible.windows.win_powershell:
script: |
New-Item D:\{{ ComputerName }}.txt
Write-Output "{{ ComputerName }}"