Used ping module to rest network connectivity and ipmi_power to power on the server.
Problem is when server is not reachable on network, registering to ping output fail , hence next play do not start on failed server. Also tried to used meta: clear_host_errors but no success On Sunday, December 22, 2019 at 4:40:50 AM UTC-8, Mauricio Tavares wrote: > > On Sun, Dec 22, 2019 at 2:32 AM Parveen Datt <[email protected] > <javascript:>> wrote: > > > > Team, > > > > Can someone please help in solution for below requirement. I tried a lot > but did not get through yet > > > > > > * We want ansible playbook to test network reachability of a server > followed by Power reset using IPMITOOL if Server is not reachable on > network > > > What have you tried? > > > -- > > 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] <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/a17fa96f-8cea-467f-b7a2-50a58b2bdea7%40googlegroups.com. > > > -- 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/2ecce80b-eae3-40c1-8ae9-9ac054a22130%40googlegroups.com.
