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 13:44:09 +02:00

9 lines
240 B
YAML

---
- name: Remove database(s)
no_log: true
shell: "dokku {{ item.type }}:destroy {{ dokku.app }} --force"
args:
removes: "/var/lib/dokku/services/{{ item.type }}/{{ dokku.app }}"
with_items: "{{ config.db }}"
when: config.db