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/postdeploy/lib/hooks.yml

9 lines
242 B
YAML

---
- name: Check if a custom post-deploy playbook exists
stat:
path: "{{ app_config_root }}/plays/postdeploy.yml"
register: post_deploy_yml
- include: "{{ app_config_root }}/plays/postdeploy.yml"
when: post_deploy_yml.stat.exists