Hi
I am trying to authenticated to server using domain credentials.
I watch the following video with Matt Davis, https://www.ansible.com/webinars-training/ask-an-expert-ansible-and-windows, and he mentions that with Ansible 2.1 you are now able to use ‘ntlm’ to authenticate with domain credentials.
I am testing this in the console first before applying these setting to Tower, but I am having issues.
I have change the host file entries to the following:
[win]
uk-ansible-util
[win:vars]
ansible_connection=winrm
ansible_user=wintech.local\sa_Ansible
ansible_password=password
ansible_winrm_transport=ntlm
And then when I try run the following task: ansible win -i hosts -m raw -a ipconfig
I am getting the following error:
uk-ansible-util | UNREACHABLE! => {
“changed”: false,
“msg”: “ntlm: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:765)”,
“unreachable”: true
}
I have updated pywinrm to the latest version on the Ansible server.
Any ideas what could be causing this, as I cant find anything on the Internet.
Cheers
Mark