It's fixed now. Here's my windows.yml file contents
ansible_ssh_user: ansible
ansivle_ssh_pass: ansible123
ansible_ssh_port: 5986
ansible_connection: winrm
It seems that the 3rd line of my windows.yml file "ansible_ssh_port: 5986"
was not doing it's job because I appended my computer name with
Here's my windows.yml file contents
ansible_ssh_user: ansible
ansivle_ssh_pass: ansible123
ansible_ssh_port: 5986
ansible_connection: winrm
It seems that the 3rd line of my windows.yml file "ansible_ssh_port: 5986"
was not doing it's job because I appended my computer name with the port
number
Actually I'm trying to connect to a Windows machine so I can't use ssh. In
that case are the contents of my windows.yml file correct for connecting to
a windows machine. I've tried using port 5986 and 5985 (using a cert and
ssl) but neither works.
windows.yml file contains...
ansible_ssh_user:
It looks like you are making an ssh connection so it appears your vars are
not getting picked up.
Since your config has a user 'ansible' but the logging output shows you are
connecting as 'ansmgr', and clearly connecting to port 22 not 5986 I am
wondering if you are picking up the inventory / h
Thanks for the tip. In my case it would be simpler to keep everything in
the hosts file.
But actually I did have the ansible_ssh vars in the
etc/ansible/group_vars/windows.yml
On Thursday, April 2, 2015 at 12:31:25 PM UTC-5, skinnedknuckles wrote:
>
> I'm having trouble getting win_ping to wor