Try to avoid creating if user states create=false
This commit is contained in:
parent
119dfabff4
commit
1d34b3c678
@ -7,7 +7,9 @@
|
|||||||
owner: dokku
|
owner: dokku
|
||||||
group: dokku
|
group: dokku
|
||||||
with_items: "{{ config.volumes }}"
|
with_items: "{{ config.volumes }}"
|
||||||
when: config.volumes
|
when:
|
||||||
|
- config.volumes
|
||||||
|
- item.create | default(false)
|
||||||
|
|
||||||
- name: Attach volume mounts
|
- name: Attach volume mounts
|
||||||
dokku_storage:
|
dokku_storage:
|
||||||
|
Reference in New Issue
Block a user