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 using the above-mentioned article as a reference? Kindly let me know.

Thank you.

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.