Ignoring failed tasks in ansible

From Notes_Wiki
Revision as of 11:52, 28 July 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > CentOS > CentOS 6.x > System administration tools > ansible > Ansible tips and tricks > Ignoring failed tasks in ansible

Ansible will stop continuing running next set of tasks on a given host, if any single task fails. To ignore failure of a task use:

ignore-errors: yes

option for the given task.



Home > CentOS > CentOS 6.x > System administration tools > ansible > Ansible tips and tricks > Ignoring failed tasks in ansible