From 459e561a24c53253b031d1bd88c0de89936f14b1 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sun, 20 Nov 2022 15:09:05 +0100 Subject: [PATCH] Authenticate pod-www git clone --- .../tasks/services/c-deploy/service-deploy/service.d/www.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/tasks/services/c-deploy/service-deploy/service.d/www.yml b/playbooks/tasks/services/c-deploy/service-deploy/service.d/www.yml index a588051..40ebfb1 100644 --- a/playbooks/tasks/services/c-deploy/service-deploy/service.d/www.yml +++ b/playbooks/tasks/services/c-deploy/service-deploy/service.d/www.yml @@ -20,7 +20,7 @@ - name: Clone website repository git: - repo: https://git.wojciechkozlowski.eu/wojtek/wojciechkozlowski.eu.git + repo: https://{{ services[service_name].repo_user }}:{{ services[service_name].repo_token }}@git.wojciechkozlowski.eu/wojtek/wojciechkozlowski.eu.git dest: "{{ service_home }}/.config/{{ service_user_name }}/wojciechkozlowski.eu" recursive: yes register: wojciechkozlowski_eu_git