I made the ansible user a member of local Administrators and then it worked

[mark@carnation ~]$ ansible windows -m win_ping
wisteria.duck.loc | SUCCESS => {
    "changed": false,
    "ping": "pong"
}

Thanks for looking.

On Monday, 24 April 2017 20:31:05 UTC+1, Mark Allison wrote:
>
> Thanks Jon,
>
> I did that and tried again and now get this:
>
> [mark@carnation ~]$ ansible windows -m win_ping
> wisteria.duck.loc | UNREACHABLE! => {
>     "changed": false,
>     "msg": "ssl: the specified credentials were rejected by the server",
>     "unreachable": true
> }
>
>
> On Monday, 24 April 2017 16:27:55 UTC+1, J Hawkesworth wrote:
>>
>> Basic auth just means using a simple username and password to login.  I 
>> suggest you remove the ansible_winrm_transport: Basic
>> line from your configuration and try again.
>>
>> Hope this helps, 
>>
>> Jon
>>
>>

-- 
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/2f77da2b-a6bf-4411-9a3a-83dbd11e3378%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to