40 lines
938 B
YAML
40 lines
938 B
YAML
|
|
---
|
||
|
|
- name: Icons - opret icons-mappe
|
||
|
|
ansible.builtin.file:
|
||
|
|
path: ~/.local/share/icons
|
||
|
|
state: directory
|
||
|
|
mode: '0755'
|
||
|
|
become: false
|
||
|
|
|
||
|
|
- name: Icons - klon Kora repo
|
||
|
|
ansible.builtin.git:
|
||
|
|
repo: https://github.com/bikass/kora.git
|
||
|
|
dest: /tmp/kora-repo
|
||
|
|
depth: 1
|
||
|
|
become: false
|
||
|
|
|
||
|
|
- name: Icons - kopier Kora til icons-mappe
|
||
|
|
ansible.builtin.copy:
|
||
|
|
src: /tmp/kora-repo/kora/
|
||
|
|
dest: ~/.local/share/icons/kora/
|
||
|
|
remote_src: true
|
||
|
|
become: false
|
||
|
|
|
||
|
|
- name: Icons - opdater icon-cache
|
||
|
|
ansible.builtin.command:
|
||
|
|
cmd: gtk-update-icon-cache ~/.local/share/icons/kora
|
||
|
|
become: false
|
||
|
|
changed_when: false
|
||
|
|
|
||
|
|
- name: Icons - sæt Kora som standard KDE ikon-tema
|
||
|
|
ansible.builtin.command:
|
||
|
|
cmd: kwriteconfig6 --file kdeglobals --group Icons --key Theme kora
|
||
|
|
become: false
|
||
|
|
changed_when: false
|
||
|
|
|
||
|
|
- name: Icons - slet temp repo
|
||
|
|
ansible.builtin.file:
|
||
|
|
path: /tmp/kora-repo
|
||
|
|
state: absent
|
||
|
|
become: false
|