0

I am trying to learn ansible locally by recreating server-node scenario using podman containers on basis of this article: https://naveenkumarjains.medium.com/ansible-setup-on-containers-4d3b3efc13ea

Now, this article deals with docker container and using podman rootless container we don't get the IPs assigned to containers. Hence, I had to launch containers in root mode then I received the IPs for both controlled and managed node.

But the problem I am facing is with establishing ssh connection between controlled and managed node. Whenever I have tried to ssh from controlled to managed node, I am getting prompt to add the host to known_hosts file. But after that I am directly getting Connection to IP closed. error.

Is there anyone who can help me out in this issue?

Pierre.Vriens
  • 7,225
  • 14
  • 39
  • 84
Tony Montana
  • 103
  • 2

0 Answers0