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