From 3eb649cdbe34ee3d2cf30f366b0a0e0f956ec611 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 22 Mar 2020 15:48:56 +0100 Subject: [PATCH] Remove experimental hook for now --- ansible/post-delete.yml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 ansible/post-delete.yml diff --git a/ansible/post-delete.yml b/ansible/post-delete.yml deleted file mode 100644 index cc8feab..0000000 --- a/ansible/post-delete.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- -- hosts: all - gather_facts: false - tasks: - - name: Load variables - include_vars: - dir: "{{ dokku_lib_root }}/data/ansible/keycloak/vars/" - extensions: - - yml - - - name: Remove mariadb database - shell: "dokku mariadb:destroy keycloak --force" - args: - removes: /var/lib/dokku/services/mariadb/keycloak - become: true - - - name: Remove volume mount configuration directories - file: - path: "{{ item }}" - state: absent - with_items: - - /var/lib/dokku/services/mariadb/keycloak - become: true