Reputation: 11
I am running multiple ansible playbooks for test automation in one of my projects. The problem is, test (containing multiple playbooks) aborts if even one task (in one playbook) get failed.
Is there any way to overcome this issue?
Upvotes: 1
Views: 2793
Reputation: 60059
You can set ignore_errors: yes
. This can be set for certain tasks or the whole playbook.
- hosts: all
ignore_errors: yes
roles: ...
Upvotes: 1