Hi Ansible Experts, We need to enable failover test between 2 remote hosts in Ansible playbook to run tasks. If host1 down then the host2 should be delegated to run the task. If both are down then playbook should exit with an email reporting remote hosts are down. Can you please suggest right Ansible module to perform this activity?
I have tried using Ansible modules like ping, service_facts, wait_for. Looking for suitable Ansible module to accomplish this activity to test the remote server availability? Regards Saravanan -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b18a6afe-5d24-42ed-9f02-d004c0be5878%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.