mirror of
https://github.com/roles-ansible/role_akku_warning.git
synced 2024-08-16 10:09:50 +02:00
18 lines
413 B
YAML
18 lines
413 B
YAML
---
|
|
- name: Run systemctl daemon-reload
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
daemon_reload: true
|
|
|
|
- name: Run systemctl start battery_check.service
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
name: 'battery_check.service'
|
|
state: started
|
|
|
|
- name: Run systemctl enable battery_check.timer
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
name: 'battery_check.timer'
|
|
enabled: true
|
|
state: started
|