Include volume mounts in pre-deploy

This commit is contained in:
Luke Murphy
2020-04-14 11:07:24 +02:00
parent b59b01dbc6
commit 878b1df3b4
2 changed files with 9 additions and 0 deletions

6
plays/lib/volumes.yml Normal file
View File

@ -0,0 +1,6 @@
---
- name: Attach volume mounts
dokku_storage:
app: "{{ app }}"
mounts: "{{ item }}"
with_items: "{{ lookup('vars', 'mounts', default=[]) }}"