This repository has been archived on 2020-05-07. You can view files and clone it, but cannot push or open issues or pull requests.
dokku-ansible-deploy/plays/postdelete/lib/database.yml
2020-04-14 11:30:40 +02:00

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