8 lines
210 B
YAML
8 lines
210 B
YAML
|
---
|
||
|
- name: Remove database(s)
|
||
|
shell: "dokku {{ item.type }}:destroy {{ app }} --force"
|
||
|
args:
|
||
|
removes: "/var/lib/dokku/services/{{ item.type }}/{{ app }}"
|
||
|
with_items: "{{ db }}"
|
||
|
when: db is defined
|