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

Discussion (0)