mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-26 12:05:09 +01:00
Adapted path
This commit is contained in:
parent
f7876f2d33
commit
f31151fb1a
@ -7,10 +7,10 @@
|
||||
|
||||
- name: Create autostart directory if it doesn't exist
|
||||
file:
|
||||
path: "{{ ansible_env.HOME }}/.config/autostart"
|
||||
path: "{{auto_start_directory}}"
|
||||
state: directory
|
||||
|
||||
- name: Copy caffeine.desktop file to autostart directory
|
||||
template:
|
||||
src: caffeine.desktop.j2
|
||||
dest: "{{ ansible_env.HOME }}/.config/autostart/caffeine.desktop"
|
||||
dest: "{{auto_start_directory}}caffeine.desktop"
|
||||
|
@ -7,4 +7,4 @@ X-GNOME-Autostart-enabled=true
|
||||
Name[en_US]=caffeine
|
||||
Name=caffeine
|
||||
Comment[en_US]=
|
||||
Comment=
|
||||
Comment=
|
1
roles/pc_application-caffeine/vars/main.yml
Normal file
1
roles/pc_application-caffeine/vars/main.yml
Normal file
@ -0,0 +1 @@
|
||||
auto_start_directory: "/home/{{client_username}}/.config/autostart/"
|
Loading…
Reference in New Issue
Block a user