Add support for deploying assets alongside compose apps
This commit is contained in:
		@@ -46,6 +46,16 @@
 | 
			
		||||
        group: "{{ omni_compose_apps[_runtime_application].account.name }}"
 | 
			
		||||
        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
 | 
			
		||||
  hosts: jupiter
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user