I am dumb, and the issue is because i have: - rescue
when it should be: rescue My mistake. On Tuesday, September 15, 2015 at 9:03:04 AM UTC-4, Frank Perks wrote: > > 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2217b12b-d9d4-406d-9d5f-c2f8a1410b23%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
