I think your group_vars files should not have .yml extensions

On Tue, Oct 21, 2014 at 3:56 PM, Bob Tanner <[email protected]>
wrote:

> Following the documentation at http://docs.ansible.com/intro_windows.html.
>
> I setup an inventory file and group windows.
> I setup a group_vars for for windows.
>
> $ cat customer/windows-testing
> [windows]
> appserv.int.domain.com
>
> $ cat group_vars/windows.yml
> ansible_ssh_user: Administrator
> ansible_ssh_pass: "Password"
> ansible_ssh_port: 5986
> ansible_connection: winrm
>
> $ whoami
> basictheprogram
>
> $ ansible windows -i customers/windows-testing -m win_ping -vvvv
>
> <appserv.int.domain.com> ESTABLISH CONNECTION FOR USER: basictheprogram
> on PORT 22 TO appserv.int.domain.com
> appserv.int.domain.com | FAILED => FAILED: Authentication failed.
>
> I don't understand why ansible is attempting to ssh (port 22) as
> basictheprogram (me) installed of winrm to port 5986 as Administrator.
>
> $ ansible --version
> ansible 1.8 (devel 4c86bd3ca6) last updated 2014/10/21 12:09:14 (GMT -500)
>   lib/ansible/modules/core: (detached HEAD cb69744bce) last updated
> 2014/10/07 14:28:03 (GMT -500)
>   lib/ansible/modules/extras: (detached HEAD 8a4f07eecd) last updated
> 2014/10/07 14:28:06 (GMT -500)
>   v2/ansible/modules/core: (detached HEAD cb69744bce) last updated
> 2014/10/07 14:28:11 (GMT -500)
>   v2/ansible/modules/extras: (detached HEAD 8a4f07eecd) last updated
> 2014/10/07 14:28:15 (GMT -500)
>   configured module search path = None
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/adae951c-81ba-4e3f-842d-ca5608fbc140%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/adae951c-81ba-4e3f-842d-ca5608fbc140%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CALGZhhsN%2BqXV0DbbjU%3DXkWFykDcwpoJ7m4J6FQm5z2idCJqp%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to