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

11 lines
230 B
YAML

# handlers file for caffeine_auto_start
- name: reload systemd
command: systemctl daemon-reload
- name: enable and start caffeine
systemd:
name: caffeine.service
state: started
enabled: yes
daemon_reload: yes