Fix repo cloning in docker build process

This commit is contained in:
Ethan Paul 2021-01-15 00:43:16 -05:00
parent bc6d971aef
commit b07650cc79
No known key found for this signature in database
GPG Key ID: C5F5542B54A4D9C6

View File

@ -2,9 +2,10 @@
- name: Clone repositories - name: Clone repositories
when: item.value.build is defined when: item.value.build is defined
git: git:
dest: /tmp/{{ item.key }}
repo: "{{ item.value.build.repository }}" repo: "{{ item.value.build.repository }}"
dest: /tmp/{{ item.key }}
version: "{{ item.value.build.version }}" version: "{{ item.value.build.version }}"
accept_hostkey: true
loop: "{{ omni_compose_apps | dict2items }}" loop: "{{ omni_compose_apps | dict2items }}"
loop_control: loop_control:
label: "{{ item.key }}" label: "{{ item.key }}"