On 22.12.2019 20:52, Parveen Datt wrote:
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
The documentation has a page on error handling
https://docs.ansible.com/ansible/latest/user_guide/playbooks_error_handling.html
just set ignore_errors: yes on the task
--
Kai Stian Olstad
--
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/ae4a8111-45a9-9bb3-bb79-0a0eae3070ca%40olstad.com.