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: Administratoransible_password: 
SecretPasswordGoesHereansible_port: 5985ansible_connection: 
winrmansible_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

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/332464c7-8e0e-44d6-bc2f-4765caa5ea25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to