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 tags: config
- name: Copy config for SDDM (root) - name: Copy config for SDDM (root)
ansible.posix.synchronize: ansible.builtin.copy:
src: "{{ item }}" src: "{{ ansible_env['HOME'] }}/{{ item }}"
dest: "/var/lib/sddm/.config/" dest: "/var/lib/sddm/.config/"
owner: sddm owner: sddm
group: sddm group: sddm
remote_src: true remote_src: true
loop: loop:
- "~/.config/kwinoutputconfig.json" - ".config/kwinoutputconfig.json"
- "~/.config/kcminputrc" - ".config/kcminputrc"
become: true become: true
tags: config tags: config