Ansible on Windows (with credssp) running into issues.

Hi

ansible_connection should be ‘winrm’ and you can set the auth mode using ansible_transport. So ultimately your vars should be;

ansible_user: Administrator
ansible_password: RandomePassword
ansible_port: 5985
ansible_winrm_scheme: http
ansible_connection: winrm
ansible_winrm_transport: credssp
ansible_winrm_server_cert_validation: ignore

One thing I would recommend is to use HTTPS instead of just HTTP. If you used the ConfigureRemotingForAnsible.ps1 script to set up WinRM you can just change ansible_port to 5986 and remove ansible_winrm_scheme to do this.

Thanks

Jordan