I am trying to develop a simple playbook (which would later be used in larger ones) to check if Windows VMs in the inventory are up and running.
`
I am trying to develop a simple playbook (which would later be used in larger ones) to check if Windows VMs in the inventory are up and running.
`
Perhaps try ansible_host instead of ansible_ssh_host?
I still get a similar error -
The error was: ‘dict object’ has no attribute ‘ansible_host’\n\nThe error appears to have been in ‘/var/lib/awx/projects/vms/waitcheck.yml’