This repository has been archived on 2020-05-07. You can view files and clone it, but cannot push or open issues or pull requests.
dokku-ansible-deploy/plays/postdelete/lib/hooks.yml

9 lines
242 B
YAML
Raw Normal View History

2020-04-14 10:34:09 +00:00
---
- name: Check if a custom post-delete playbook exists
stat:
path: "{{ app_config_root }}/plays/postdelete.yml"
register: post_delete_yml
- include: "{{ app_config_root }}/plays/postdelete.yml"
when: post_delete_yml.stat.exists