Sample Header Ad - 728x90

Ansible - Continue (not ignore) upon Failure

2 votes
2 answers
8787 views
I'm aware of the ignore_errors: yes flag, to ignore failures during the playbook run, but I wish to know if there is anything in Ansible that I can set, that is not a 'ignore behavior' but still runs the playbook until it ends. That's because I want to have better report control. To illustrate, currently this is my 'RUN-RECAP': PLAY RECAP ******************************************************************************************************************************************************************************************* : ok=195 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 **ignored=10** The "ignored=10" is actually "failed checks" What I need would be a PLAY RECAP like this: PLAY RECAP ******************************************************************************************************************************************************************************************* : ok=195 changed=0 unreachable=0 **failed=10** skipped=0 rescued=0 ignored=0
Asked by Dumb admin (33 rep)
Jun 25, 2021, 10:34 AM
Last activity: May 18, 2025, 08:00 PM