mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Replaced depenencies by includes for performance reasons
This commit is contained in:
21
roles/desk-gnome-caffeine/tasks/01_core.yml
Normal file
21
roles/desk-gnome-caffeine/tasks/01_core.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
- name: Include dependency 'dev-yay'
|
||||
include_role:
|
||||
name: dev-yay
|
||||
when: run_once_dev_yay is not defined
|
||||
|
||||
- name: Install caffeine
|
||||
kewlfft.aur.aur:
|
||||
use: yay
|
||||
name:
|
||||
- caffeine-ng
|
||||
become: false
|
||||
|
||||
- name: Create autostart directory if it doesn't exist
|
||||
file:
|
||||
path: "{{auto_start_directory}}"
|
||||
state: directory
|
||||
|
||||
- name: Copy caffeine.desktop file to autostart directory
|
||||
template:
|
||||
src: caffeine.desktop.j2
|
||||
dest: "{{auto_start_directory}}caffeine.desktop"
|
Reference in New Issue
Block a user