mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-26 14:41:04 +01:00
17 lines
399 B
YAML
17 lines
399 B
YAML
---
|
|
- name: Install caffeine
|
|
kewlfft.aur.aur:
|
|
use: yay
|
|
name:
|
|
- caffeine-ng
|
|
|
|
- name: Create autostart directory if it doesn't exist
|
|
file:
|
|
path: "{{ ansible_env.HOME }}/.config/autostart"
|
|
state: directory
|
|
|
|
- name: Copy caffeine.desktop file to autostart directory
|
|
template:
|
|
src: caffeine.desktop.j2
|
|
dest: "{{ ansible_env.HOME }}/.config/autostart/caffeine.desktop"
|