From b07650cc79e33a43c79d1c2eb89aa46baf216a26 Mon Sep 17 00:00:00 2001 From: Ethan Paul <24588726+enpaul@users.noreply.github.com> Date: Fri, 15 Jan 2021 00:43:16 -0500 Subject: [PATCH] Fix repo cloning in docker build process --- tasks/docker/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/docker/build.yml b/tasks/docker/build.yml index 45cae89..cba5c38 100644 --- a/tasks/docker/build.yml +++ b/tasks/docker/build.yml @@ -2,9 +2,10 @@ - name: Clone repositories when: item.value.build is defined git: - dest: /tmp/{{ item.key }} 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 }}"