I don't know if anyone else has run into this, or if this is the right way to handle this case, but it works for me in Ansible 2.9 and 2.10:
https://richm.github.io/how-to-catch-and-reraise-errors-in-ansible
I don't know if anyone else has run into this, or if this is the right way to handle this case, but it works for me in Ansible 2.9 and 2.10:
https://richm.github.io/how-to-catch-and-reraise-errors-in-ansible