Adapt to more scoped config
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: Remove database(s)
|
||||
shell: "dokku {{ item.type }}:destroy {{ app }} --force"
|
||||
shell: "dokku {{ item.type }}:destroy {{ dokku.app }} --force"
|
||||
args:
|
||||
removes: "/var/lib/dokku/services/{{ item.type }}/{{ app }}"
|
||||
removes: "/var/lib/dokku/services/{{ item.type }}/{{ dokku.app }}"
|
||||
with_items: "{{ db }}"
|
||||
when: db is defined
|
||||
|
Reference in New Issue
Block a user