24 lines
583 B
YAML
24 lines
583 B
YAML
---
|
|
- 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
|