Conditional copy kde config to sddm
This commit is contained in:
parent
b3e14252f1
commit
db0fb00208
@ -69,6 +69,11 @@
|
|||||||
become: true
|
become: true
|
||||||
tags: config
|
tags: config
|
||||||
|
|
||||||
|
- name: Check if KDE files exist
|
||||||
|
ansible.builtin.stat:
|
||||||
|
path: "{{ ansible_env['HOME'] }}/.config/kwinoutputconfig.json"
|
||||||
|
register: kde_files
|
||||||
|
|
||||||
- name: Copy config for SDDM (root)
|
- name: Copy config for SDDM (root)
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ ansible_env['HOME'] }}/{{ item }}"
|
src: "{{ ansible_env['HOME'] }}/{{ item }}"
|
||||||
@ -79,6 +84,7 @@
|
|||||||
loop:
|
loop:
|
||||||
- ".config/kwinoutputconfig.json"
|
- ".config/kwinoutputconfig.json"
|
||||||
- ".config/kcminputrc"
|
- ".config/kcminputrc"
|
||||||
|
when: kde_files.stat.exists
|
||||||
become: true
|
become: true
|
||||||
tags: config
|
tags: config
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user