Hi. How do I make it so Ansible runs on multiple hosts simultaneously, without waiting for all hosts’ play finish, but allow them to also keep running plays if a task failed on one or several hosts? The idea is to stop playbook execution on hosts that faced errors but in a way that it wouldn’t block other hosts from proceeding with the work after an error occured on hosts with errors.
Try block/rescue
- block:
- command: "cmd_that_may_fail"
rescue:
- meta: end_host