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 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

View File

@ -5,3 +5,4 @@
- include: ../commonlib/vars.yml
- include: ./lib/dirs.yml
- include: ./lib/database.yml
- include: ./lib/hooks.yml