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...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb>Ansible_tips_and_tricks|Ansible tips and tricks</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[System administration tools]] > [[Ansible|ansible]] > [[Ansible tips and tricks]] > [[Ignoring failed tasks in ansible]]
=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:
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:
Line 7: Line 6:
</pre>
</pre>
option for the given task.
option for the given task.
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[System administration tools]] > [[Ansible|ansible]] > [[Ansible tips and tricks]] > [[Ignoring failed tasks in ansible]]

Latest revision as of 11:52, 28 July 2022

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