Add support for deploying assets alongside compose apps
This commit is contained in:
parent
9ab3a40364
commit
a7012abf28
@ -46,6 +46,16 @@
|
|||||||
group: "{{ omni_compose_apps[_runtime_application].account.name }}"
|
group: "{{ omni_compose_apps[_runtime_application].account.name }}"
|
||||||
mode: 0750
|
mode: 0750
|
||||||
|
|
||||||
|
- name: Create datastore assets
|
||||||
|
become: true
|
||||||
|
template:
|
||||||
|
src: "{{ item.src }}"
|
||||||
|
dest: "{{ omni_datastore_mount }}{{ omni_compose_apps[_runtime_application].datastore }}/{{ item.name }}"
|
||||||
|
owner: "{{ omni_compose_apps[_runtime_application].account.name }}"
|
||||||
|
group: "{{ omni_compose_apps[_runtime_application].account.name }}"
|
||||||
|
mode: "{{ item.permissions | default(0644) }}"
|
||||||
|
loop: "{{ omni_compose_apps[_runtime_application].assets | default([]) }}"
|
||||||
|
|
||||||
|
|
||||||
- name: Configure docker stack
|
- name: Configure docker stack
|
||||||
hosts: jupiter
|
hosts: jupiter
|
||||||
|
Reference in New Issue
Block a user