1
0
Fork 0
mirror of https://github.com/roles-ansible/role_akku_warning.git synced 2024-08-16 10:09:50 +02:00
role_akku_warning/tasks/timer.yml
2021-11-15 00:13:19 +01:00

24 lines
626 B
YAML

---
- name: setup battery_check.service
become: true
ansible.builtin.template:
src: 'templates/battery_check.service.j2'
dest: '/usr/lib/systemd/system/battery_check.service'
mode: 0755
owner: root
group: root
notify:
- systemctl daemon-reload
- systemctl start battery_check.service
- name: setup battery_check.timer
become: true
ansible.builtin.template:
src: 'templates/battery_check.timer.j2'
dest: '/usr/lib/systemd/system/battery_check.timer'
mode: 0755
owner: root
group: root
notify:
- systemctl daemon-reload
- systemctl enable battery_check.timer