0

Currently I am able to do this by using ansible in WSL(Windows Subsystem for Linux) with kerberos authentication. But when I use Docker container instead of WSL and follow same procedure as with WSL, I am not able to do it. I get the following error while running the playbook : fatal: [app-server-1]: UNREACHABLE! => { "changed": false, "msg": "kerberos: HTTPConnectionPool(host='****', port=5986): Max retries exceeded with url: /wsman (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known',))", "unreachable": true }

NOTE: - In both cases the machine running WSL or Docker is a windows machine and it is in the network domain.

  • What kind of docker container image are you using? Just because the WSL system has the tools to reach the managed host does not mean the Container image will have the same tools. – 0xSheepdog Dec 27 '19 at 20:02
  • I am using ubuntu 16.04 lts image from docker hub and installing ansible and kerberos on it. – Prajesh Jain Jan 03 '20 at 06:31

0 Answers0