I'm attempting to set up a windows 2012 system in EC2 which can be accessed/managed with ansible. I've used a script like the example (https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1) passed as user_data at start-up to successfully connect to a windows 2008r2 based system, however I've had issues related to memory limits in 2008r2. When I try to use the same script to connect to a 2012r2 based system, I get these errors:
<IP> ESTABLISH WINRM CONNECTION FOR USER: Admin1 on PORT 5986 TO IP <IP> WINRM CONNECT: transport=plaintext endpoint=https://IP:5986/wsman <IP> WINRM CONNECTION ERROR: 401 Unauthorized. basic auth failed <IP> WINRM CONNECT: transport=plaintext endpoint=http://IP:5986/wsman I can successfully connect to the server with RDP, and as far as I can tell, the winrm settings look correct. Has anyone else experienced similar issues? Any ideas on what could be going wrong? -- 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/f4966780-3135-482a-b757-a0d7595920cc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
