Hmm if I had to develop specific error handling around roles, I would use the block statement <http://docs.ansible.com/ansible/latest/playbooks_blocks.html>. Have not been able to come up with something that I could not handle. N
tasks: - block: - include_role: name: myrole-that-fails rescue: - debug: msg="Help me, I just melted" always: - debug: msg="I run no matter what" -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c86d38e4-f5e5-4875-af94-457a585f4de8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.