If no mode, don't include it
This commit is contained in:
parent
1d34b3c678
commit
da2b565cf3
@ -14,6 +14,6 @@
|
|||||||
- name: Attach volume mounts
|
- name: Attach volume mounts
|
||||||
dokku_storage:
|
dokku_storage:
|
||||||
app: "{{ dokku.app }}"
|
app: "{{ dokku.app }}"
|
||||||
mounts: "{{ item.src }}:{{ item.dest }}:{{ item.mode | default('rw') }}"
|
mounts: "{{ item.src }}:{{ item.dest }}{{ ':' + item.mode | default('') }}"
|
||||||
with_items: "{{ config.volumes }}"
|
with_items: "{{ config.volumes }}"
|
||||||
when: config.volumes
|
when: config.volumes
|
||||||
|
Reference in New Issue
Block a user