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