How does `ignore_errors: yes` affect the overall play's exit status?

Question

Grade: Education Subject: Help
How does `ignore_errors: yes` affect the overall play's exit status?
Asked by:
68 Viewed 68 Answers

Answer (68)

Best Answer
(277)
If a task with `ignore_errors: yes` fails, Ansible will mark that task as failed but will not stop the play. The play will continue to its next task. If all subsequent tasks succeed, the play might still report a successful exit status, depending on whether other tasks failed.