From c2fe59352bc04ea21a4f3dd20ad3342586a3fa57 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 26 Oct 2021 21:02:04 +0200 Subject: [PATCH] correct the copy task --- tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 68b2d89..5bb91bd 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -35,9 +35,11 @@ - name: "Copy the project files to the server" copy: src: "{{ docker_project_name }}" - dest: "{{ ansible_user_dir }}/{{ docker_project_name }}" + dest: "{{ ansible_user_dir }}/" + become: false - name: "Copy the traefik config" copy: src: "traefik.yaml" dest: "{{ ansible_user_dir }}/{{ docker_project_name }}/traefik.yaml" + become: false