From 13d5fe663f3f66721d27582115532cb2564fbb62 Mon Sep 17 00:00:00 2001 From: exu Date: Thu, 10 Oct 2024 20:00:40 +0200 Subject: [PATCH] Fix file path --- roles/config/tasks/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/roles/config/tasks/main.yml b/roles/config/tasks/main.yml index 23132ecf..343075ba 100644 --- a/roles/config/tasks/main.yml +++ b/roles/config/tasks/main.yml @@ -41,7 +41,6 @@ - name: Copy new files and directories ansible.builtin.copy: - #src: "files/{{ item }}" src: "{{ item }}" dest: "~/{{ item }}" loop: @@ -55,9 +54,8 @@ - name: Copy new files and directories (root) ansible.builtin.copy: - #src: "files/{{ item }}" src: "{{ item }}" - dest: "~/{{ item }}" + dest: "/{{ item }}" loop: - "etc" become: true @@ -67,7 +65,7 @@ src: "{{ item }}" dest: "/etc/pacman.conf" loop: - - "/etc/pacman-x86_64.conf" + - "etc/pacman-x86_64.conf" when: ansible_architecture == "x86_64" become: true