9 lines
237 B
YAML
9 lines
237 B
YAML
|
---
|
||
|
- 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
|