Add hooks

This commit is contained in:
Luke Murphy
2020-04-14 12:34:09 +02:00
parent 52f4b906b0
commit ddaa516e38
6 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,8 @@
---
- name: Check if a custom pre-deploy playbook exists
stat:
path: "{{ app_config_root }}/plays/predeploy.yml"
register: pre_deploy_yml
- include: "{{ app_config_root }}/plays/predeploy.yml"
when: pre_deploy_yml.stat.exists