computer-playbook/roles/pc_application-caffeine/tasks/main.yml

17 lines
399 B
YAML
Raw Normal View History

---
- 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"