Move to dictionary vars strategy
This commit is contained in:
@ -4,5 +4,5 @@
|
||||
shell: "dokku {{ item.type }}:destroy {{ dokku.app }} --force"
|
||||
args:
|
||||
removes: "/var/lib/dokku/services/{{ item.type }}/{{ dokku.app }}"
|
||||
with_items: "{{ db }}"
|
||||
when: db is defined
|
||||
with_items: "{{ config.db }}"
|
||||
when: config.db
|
||||
|
Reference in New Issue
Block a user