Include volume mounts in pre-deploy
This commit is contained in:
parent
b59b01dbc6
commit
878b1df3b4
6
plays/lib/volumes.yml
Normal file
6
plays/lib/volumes.yml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: Attach volume mounts
|
||||
dokku_storage:
|
||||
app: "{{ app }}"
|
||||
mounts: "{{ item }}"
|
||||
with_items: "{{ lookup('vars', 'mounts', default=[]) }}"
|
@ -22,5 +22,8 @@
|
||||
with_items: "{{ db }}"
|
||||
when: db is defined
|
||||
|
||||
- name: Include volume tasks
|
||||
include: ./lib/volumes.yml
|
||||
|
||||
- name: Include env tasks
|
||||
include: ./lib/env.yml
|
||||
|
Reference in New Issue
Block a user