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

14 lines
283 B
YAML
Raw Normal View History

- name: install caffeine
kewlfft.aur.aur:
use: yay
name:
- caffeine-ng
- name: Copy caffeine systemd service file
template:
src: caffeine.service.j2
dest: /etc/systemd/system/caffeine.service
notify:
- reload systemd
- enable and start caffeine