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-11 23:08:51 +01:00

12 lines
249 B
YAML

---
- name: Check akku every 3 minutes
become: true
ansible.builtin.cron:
name: check if akku still okay
job: /opt/akku.sh
minute: '*/3'
user: '{{ akku_user }}'
cron_file: /etc/crontab
state: absent
failed_when: false