mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-09 22:41:03 +01:00
Adapted path
This commit is contained in:
parent
7ac8a7b54e
commit
9736d651c6
@ -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