So i was hoping to use blocks as an easy way to notify success/failure of ansible runs.
- block: - include: build.yml - include: deploy_site.yml - name: Notify Slack it successfully deployed slack: <stuff> - rescue: - name: Notify Slack it failed slack: <stuff> When there is an error in ether of the included yml files. Rescue never seems to be executed. This is running the latest devel. -- 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/042798d5-7300-432a-b106-788842a3c7b0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.