Compare commits
No commits in common. "ac850f8966c2c54a4d6a8667b588f9981732b1f3" and "94e56ef57c0f31d0f0e98e36ee349da0cbdb7a93" have entirely different histories.
ac850f8966
...
94e56ef57c
@ -1,35 +1,14 @@
|
|||||||
---
|
---
|
||||||
- name: Download source
|
- name: Clone repositories
|
||||||
block:
|
when: item.value.build is defined
|
||||||
- name: Clone repositories
|
git:
|
||||||
when: item.value.build is defined
|
repo: "{{ item.value.build.repository }}"
|
||||||
git:
|
dest: /tmp/{{ item.key }}
|
||||||
repo: "{{ item.value.build.repository }}"
|
version: "{{ item.value.build.version }}"
|
||||||
dest: /tmp/{{ item.key }}
|
accept_hostkey: true
|
||||||
version: "{{ item.value.build.version }}"
|
loop: "{{ omni_compose_apps | dict2items }}"
|
||||||
accept_hostkey: true
|
loop_control:
|
||||||
loop: "{{ omni_compose_apps | dict2items }}"
|
label: "{{ item.key }}"
|
||||||
loop_control:
|
|
||||||
label: "{{ item.key }}"
|
|
||||||
rescue:
|
|
||||||
- name: Remove existing repository downloads
|
|
||||||
file:
|
|
||||||
path: /tmp/{{ item.key }}
|
|
||||||
state: absent
|
|
||||||
loop: "{{ omni_compose_apps | dict2items }}"
|
|
||||||
loop_control:
|
|
||||||
label: "{{ item.key }}"
|
|
||||||
|
|
||||||
- name: Clone repositories
|
|
||||||
when: item.value.build is defined
|
|
||||||
git:
|
|
||||||
repo: "{{ item.value.build.repository }}"
|
|
||||||
dest: /tmp/{{ item.key }}
|
|
||||||
version: "{{ item.value.build.version }}"
|
|
||||||
accept_hostkey: true
|
|
||||||
loop: "{{ omni_compose_apps | dict2items }}"
|
|
||||||
loop_control:
|
|
||||||
label: "{{ item.key }}"
|
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
when: item.value.build is defined
|
when: item.value.build is defined
|
||||||
|
@ -93,7 +93,7 @@ omni_compose_apps:
|
|||||||
scipio:
|
scipio:
|
||||||
build:
|
build:
|
||||||
repository: git@github.com:tjyork/Scipio.git
|
repository: git@github.com:tjyork/Scipio.git
|
||||||
version: 1.1.2
|
version: 1.1.1
|
||||||
datastore: /appdata/scipio
|
datastore: /appdata/scipio
|
||||||
account:
|
account:
|
||||||
name: mech_scipio
|
name: mech_scipio
|
||||||
@ -106,6 +106,6 @@ omni_compose_apps:
|
|||||||
networks:
|
networks:
|
||||||
main: 192.168.106.0/24
|
main: 192.168.106.0/24
|
||||||
versions:
|
versions:
|
||||||
default: 1.1.2
|
default: 1.1.1
|
||||||
database: "10"
|
database: "10"
|
||||||
cache: "6.2"
|
cache: "6.2"
|
||||||
|
Reference in New Issue
Block a user