From 21c04dcfe3850036e8f2e651cd8b1c0732e11f71 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 26 Oct 2021 21:08:41 +0200 Subject: [PATCH] try to correct the path --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 5bb91bd..1da2b38 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: "{{ ansible_user_dir }}/" + dest: "/home/{{ remote_user }}/" become: false - name: "Copy the traefik config" copy: src: "traefik.yaml" - dest: "{{ ansible_user_dir }}/{{ docker_project_name }}/traefik.yaml" + dest: "/home/{{ remote_user }}/{{ docker_project_name }}/traefik.yaml" become: false