Skip to content

Instantly share code, notes, and snippets.

@piniv piniv/main.yml
Created Mar 17, 2019

Embed
What would you like to do?
---
- block:
- block:
- import_tasks: dependencies.yml
- import_tasks: init.yml # facts
- import_tasks: deploy.yml
- import_tasks: finalize.yml
rescue:
- include_tasks: deploy-retry.yml
- name: Crap! Failed to retry - dump instance
fail: # trigger last rescue - slack + self terminate
when: deploy_complete is undefined
rescue:
- include_tasks: rescue.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.