From 03281528a34923e72a34c942b4005721f9616c16 Mon Sep 17 00:00:00 2001 From: exu Date: Mon, 14 Oct 2024 21:14:40 +0200 Subject: [PATCH] Use env HOME --- roles/config/tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/config/tasks/main.yml b/roles/config/tasks/main.yml index b557cf51..d7fa6e9f 100644 --- a/roles/config/tasks/main.yml +++ b/roles/config/tasks/main.yml @@ -63,15 +63,15 @@ tags: config - name: Copy config for SDDM (root) - ansible.posix.synchronize: - src: "{{ item }}" + ansible.builtin.copy: + src: "{{ ansible_env['HOME'] }}/{{ item }}" dest: "/var/lib/sddm/.config/" owner: sddm group: sddm remote_src: true loop: - - "~/.config/kwinoutputconfig.json" - - "~/.config/kcminputrc" + - ".config/kwinoutputconfig.json" + - ".config/kcminputrc" become: true tags: config