I have a very odd situation, I have a new installation of CentOS7 on a free version of VSphere and I’m trying to test out Ansible to configure Windows computers but I am getting the dreaded Code 500 when trying to do the win_ping
module from ansible.
I am trying to use basic authentication and would NOT like to use any other kind of authentication. What could be causing this issue? I know I can manage with a vagrant centos7 machine doing exactly the same setup but cannot get anywhere with centos7 installed on a free vsphere machine. I have not added any certs anywhere.
I have run the script to enable WinRM on both Win10 machines:
Service RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)(A;;GR;;;IU)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;; WD) MaxConcurrentOperations = 4294967295 MaxConcurrentOperationsPerUser = 1500 EnumerationTimeoutms = 240000 MaxConnections = 300 MaxPacketRetrievalTimeSeconds = 120 AllowUnencrypted = true Auth Basic = true Kerberos = true Negotiate = true Certificate = false CredSSP = false CbtHardeningLevel = Relaxed DefaultPorts HTTP = 5985 HTTPS = 5986 IPv4Filter = * IPv6Filter = * EnableCompatibilityHttpListener = false EnableCompatibilityHttpsListener = false CertificateThumbprint AllowRemoteAccess = true
My hostfile for Ansible only has two IP addresses of Windows 10 machines that are reachable via pinging manually.
Host File:
`