I want to ignore errors and retry until the I get the particular message, So I have written below code, but I am confused about whether to use ignore_errors = True and at some places ignore_errors = yes
- name: execute the operation
module:
operation: execute-operation
input: ["{{ inputParam }}"]
register: result
ignore_errors: yes
until: result.msg == "Success"
retries: 3
delay: 5