From 0fafa72b4b6b73ec1bf713fa8f1a27d07bf38025 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 26 Oct 2021 21:43:45 +0200 Subject: [PATCH] correct the path again --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 1da2b38..6413b45 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -35,11 +35,11 @@ - name: "Copy the project files to the server" copy: src: "{{ docker_project_name }}" - dest: "/home/{{ remote_user }}/" + dest: "{{ lookup('env', 'HOME') }}/" become: false - name: "Copy the traefik config" copy: src: "traefik.yaml" - dest: "/home/{{ remote_user }}/{{ docker_project_name }}/traefik.yaml" + dest: "{{ lookup('env', 'HOME') }}/{{ docker_project_name }}/traefik.yaml" become: false