Difference between revisions of "Ignoring failed tasks in ansible"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>Ansible_tips_and_tricks|Ansible tips and tricks</yambe:breadcrumb> =Ignoring failed tasks in ansible= Ansible will stop continuing running next set of tasks...")
(No difference)

Revision as of 14:11, 14 March 2015

<yambe:breadcrumb>Ansible_tips_and_tricks|Ansible tips and tricks</yambe:breadcrumb>

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.