Ansible/playbook/windows/getSystemInfo.yml
James Tombleson d43d21157c windows updates can be parsed
Figured out how to get the returned values back.  Getting into choco now.
2019-04-08 08:21:28 -07:00

17 lines
324 B
YAML

# This is a testing script to see what box you are connected to.
# We will run a shell command to get our output.
- name: Get SystemInfo
hosts: windows
tasks:
- name: Run SystemInfo
win_shell: systeminfo
register: sysinfo
- debug: msg="{{ sysinfo.stdout_lines }}"