mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-29 07:51:04 +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
|
- 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"
|
||||||
|
@ -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=
|
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