fixed ansible user home dir error

This commit is contained in:
2026-06-20 06:21:17 -05:00
parent e5a0e961d5
commit 6eea3b213c
5 changed files with 14 additions and 14 deletions
+4 -4
View File
@@ -2,18 +2,18 @@
- name: Copy cheat sheet desktop file
ansible.builtin.template:
src: cheat-sheet.desktop.j2
dest: "{{ ansible_user_home }}/.local/share/applications/net.local.cheat-sheet.sh.desktop"
dest: "{{ ansible_user_dir }}/.local/share/applications/net.local.cheat-sheet.sh.desktop"
mode: "0644"
- name: Copy password script
ansible.builtin.template:
src: pass-menu.desktop.j2
dest: "{{ ansible_user_home }}/.local/share/applications/net.local.pass-menu.sh.desktop"
dest: "{{ ansible_user_dir }}/.local/share/applications/net.local.pass-menu.sh.desktop"
mode: "0644"
- name: Set cheat-sheet hotkey
community.general.ini_file:
path: "{{ ansible_user_home }}/.config/kglobalshortcutsrc"
path: "{{ ansible_user_dir }}/.config/kglobalshortcutsrc"
section: "services][net.local.cheat-sheet.sh.desktop"
option: _launch
value: Alt+C
@@ -21,7 +21,7 @@
- name: Set pass-menu hotkey
community.general.ini_file:
path: "{{ ansible_user_home }}/.config/kglobalshortcutsrc"
path: "{{ ansible_user_dir }}/.config/kglobalshortcutsrc"
section: "services][net.local.pass-menu.sh.desktop"
option: _launch
value: Alt+P
@@ -1,5 +1,5 @@
[Desktop Entry]
Exec={{ ansible_user_home }}/scripts/cheat-sheet.sh
Exec={{ ansible_user_dir }}/scripts/cheat-sheet.sh
Name=cheat-sheet
NoDisplay=true
StartupNotify=false
+1 -1
View File
@@ -1,5 +1,5 @@
[Desktop Entry]
Exec={{ ansible_user_home }}/scripts/pass-menu.sh
Exec={{ ansible_user_dir }}/scripts/pass-menu.sh
Name=pass-menu
NoDisplay=true
StartupNotify=false