Use env HOME

This commit is contained in:
exu 2024-10-14 21:14:40 +02:00
parent f0573549b0
commit 03281528a3

View File

@ -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