DEV Community 👩‍💻👨‍💻


Posted on

ansible cannot connection after change ip of target

I tried ssh -O exit to close ssh control master socket, but it does not work, but I can connect use ssh directly. After add -vvvv to ansible command, I notice that ansible use ssh control path ~/.ansible/cp, that is different from what is setted in ~/.ssh/config

Top comments (0)


Thank you.

Thanks for visiting DEV, we’ve worked really hard to cultivate this great community and would love to have you join us. If you’d like to create an account, you can sign up here.