I am using follwing command to reboot linux host

ansible -i hosts linux_vms -a "/sbin/shutdown -r now" -Kk 
--ssh-extra-args='-o StrictHostKeyChecking=no'

but keep getting folowing

Failed to execute operation: Connection timed out

but 
ansible -i hosts linux_vms -a "uptime" -k --ssh-extra-args='-o 
StrictHostKeyChecking=no'


show the vms are up. any idea?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e5ff930b-21df-49cb-a5a3-34494f7af41an%40googlegroups.com.

Reply via email to