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