I am pretty sure the private key and user are correct for ansible script because we only occasionally see this error. So I suspect the network connection can not be reached sometimes or SSH service is not started on remote server. So before ansible playbook ran, I want to call ping module to make sure network connection is ok, but I do not know if ansible has a module can check ssh service is ok, does telnet module work?
-- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ca5c3bc5-16e8-40cb-b27d-7e0c963a0215%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
