Hi,
I was able to setup ansible to manage a Windows host, following the docs 
and using the local admin user "Administrator".
All Windows are managed by AD and I would like to use a Service account 
that exists in all my Windows VM.

Which is the correct settings to put into the groups_var\windows.yml file?

I've tried several combinations, with no luck. 
Here my file and the error I got 
----------
[root@ansible_control group_vars]# cat windows.yml
ansible_ssh_user: UGFIDOMAIN\alladmin
ansible_ssh_pass: dummy_for_test
ansible_ssh_port: 5986
ansible_connection: winrm
[root@ansible_control group_vars]#
-----------
[root@ansible_control group_vars]# ansible windows -m win_ping -vvvv
 [WARNING]: The version of gmp you have installed has a known issue 
regarding
timing vulnerabilities when used with pycrypto. If possible, you should 
update
it (i.e. yum update gmp).

<10.229.212.242> ESTABLISH WINRM CONNECTION FOR 
USER: UGFIDOMAIN\alladmin on PORT 5986 TO 10.10.212.242
<10.229.212.242> WINRM CONNECT: transport=plaintext 
endpoint=https://10.10.212.242:5986/wsman
<10.229.212.242> WINRM CONNECTION ERROR: 401 Unauthorized. basic auth failed
<10.229.212.242> WINRM CONNECT: transport=plaintext 
endpoint=http://10.10.212.242:5986/wsman
<10.229.212.242> WINRM CONNECTION ERROR: 500 WinRMTransport. [Errno 104] 
Connection reset by peer
10.229.212.242 | FAILED => 500 WinRMTransport. [Errno 104] Connection reset 
by peer
[ro

Thanks,
Mike

-- 
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/c5d18df8-3707-45a9-8f25-d90585f2a198%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to