Created
March 17, 2019 11:00
-
-
Save piniv/660a91c155cf03f1fe37296cef3fd5f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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