Account for modes in volumes

This commit is contained in:
Luke Murphy 2020-04-15 11:24:47 +02:00
parent 6638d1ab38
commit 0430f8512a
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -12,6 +12,6 @@
- name: Attach volume mounts
dokku_storage:
app: "{{ dokku.app }}"
mounts: "{{ item.src }}:{{ item.dest }}"
mounts: "{{ item.src }}:{{ item.dest }}:{{ item.mode | default('rw') }}"
with_items: "{{ config.volumes }}"
when: config.volumes