Hello,

I'm using Amazon AWS to run instances. Both machines (linux and windows) 
can only reach internet through proxy and are on the same VPC. I can ping 
from one instance to another. Allowed all the traffic between these 
instances.
Used setup from
http://docs.ansible.com/ansible/intro_windows.html and fixes from 
https://github.com/ansible/ansible/issues/10294
Set the proxy for ansible playbook, set vars for group (ansible_ssh_user: 
Administrator, ansible_ssh_pass: SecretPasswordGoesHere, ansible_ssh_port: 
5986, ansible_connection: winrm), etc.

But can not get through error:

ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT 5986 TO xxx
WINRM CONNECT: transport=plaintext endpoint=https://xxx:5986/wsman
WINRM CONNECTION ERROR: 500 WinRMTransport. Tunnel connection failed: 403 
Forbidden
fatal: [xxx] => 500 WinRMTransport. Tunnel connection failed: 403 Forbidden

But I am able to successfully connect to windows instances when using 
public IP on instances, full access to the internet and no proxies... but 
it's not an option.

Can anyone suggest what I can be missing?

P.S. Using same settings (private ip, proxy, etc.) I have not problem 
running Ansible playbooks on other linux instances.

-- 
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/00969e84-a561-4906-8c1a-a5085b1c0efe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to