Centos 7
Ansible 2.1
Windows 7 on remote node
My inventory file (/etc/ansible/hosts) contains
[windows]
ADS-6999 ansible_host=123.123.123.123
I have configured my windows.yml file as follows
ansible_user: Administrator
ansible_password: SecretPasswordGoesHere
ansible_port: 5985
ansible_connection: winrm
ansible_winrm_server_cert_validation: ignore
But when I try to run win_ping I get this:
**$ansible windows -m win_ping -c winrm --verbose**
**No config file found; using defaults**
**ERROR! Syntax Error while loading YAML**
Any suggestions are appreciated.
Jonathan