Adapted path

This commit is contained in:
Kevin Veen-Birkenbach 2023-05-28 23:46:12 +02:00
parent f7876f2d33
commit f31151fb1a
3 changed files with 4 additions and 3 deletions

View File

@ -7,10 +7,10 @@
- name: Create autostart directory if it doesn't exist - name: Create autostart directory if it doesn't exist
file: file:
path: "{{ ansible_env.HOME }}/.config/autostart" path: "{{auto_start_directory}}"
state: directory state: directory
- name: Copy caffeine.desktop file to autostart directory - name: Copy caffeine.desktop file to autostart directory
template: template:
src: caffeine.desktop.j2 src: caffeine.desktop.j2
dest: "{{ ansible_env.HOME }}/.config/autostart/caffeine.desktop" dest: "{{auto_start_directory}}caffeine.desktop"

View File

@ -7,4 +7,4 @@ X-GNOME-Autostart-enabled=true
Name[en_US]=caffeine Name[en_US]=caffeine
Name=caffeine Name=caffeine
Comment[en_US]= Comment[en_US]=
Comment= Comment=

View File

@ -0,0 +1 @@
auto_start_directory: "/home/{{client_username}}/.config/autostart/"