2024-10-12 11:51:22 +02:00
|
|
|
---
|
|
|
|
- name: Setup crontab
|
|
|
|
hosts: servers
|
|
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
|
|
- name: Cron - Docker system prune
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: docker system prune
|
|
|
|
minute: 0
|
|
|
|
hour: 4
|
|
|
|
weekday: SUN
|
|
|
|
job: /mnt/data/bin/healthcheck docker-system-prune /mnt/data/bin/docker-system-prune
|
|
|
|
- name: Cron - Clean old backups
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: clean old backups
|
|
|
|
minute: 55
|
|
|
|
hour: 4
|
|
|
|
job: /mnt/data/bin/healthcheck clean-old-backups /mnt/data/bin/clean-old-backups
|
|
|
|
- name: Cron - YNAB
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: YNAB
|
|
|
|
minute: 50
|
|
|
|
hour: 6
|
|
|
|
weekday: TUE-SAT
|
2024-11-30 18:02:01 +01:00
|
|
|
job: /mnt/data/bin/healthcheck ynab /mnt/data/ynab/run-go
|
2024-10-12 11:51:22 +02:00
|
|
|
- name: Cron - Nextcloud cron
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Nextcloud cron
|
|
|
|
minute: "*/5"
|
|
|
|
job: /mnt/data/bin/healthcheck nextcloud-cron /mnt/data/bin/nextcloud-cron
|
2024-10-13 00:22:36 +02:00
|
|
|
disabled: true
|
2024-10-12 11:51:22 +02:00
|
|
|
- name: Cron - Nextcloud preview
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Nextcloud preview
|
|
|
|
minute: "*/7"
|
|
|
|
job: /mnt/data/bin/healthcheck nextcloud-preview /mnt/data/bin/nextcloud-preview
|
2024-10-13 00:22:36 +02:00
|
|
|
disabled: true
|
2024-10-12 11:51:22 +02:00
|
|
|
- name: Cron - Nextcloud update apps
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Nextcloud update apps
|
|
|
|
special_time: daily
|
|
|
|
job: /mnt/data/bin/healthcheck nextcloud-auto-update /mnt/data/bin/nextcloud-auto-update
|
2024-10-13 00:22:36 +02:00
|
|
|
disabled: true
|
2024-10-12 11:51:22 +02:00
|
|
|
- name: Cron - Dump manuels
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Dump manuels
|
|
|
|
minute: 45
|
|
|
|
job: /mnt/data/bin/healthcheck dump-manuels /mnt/data/bin/dump-manuels
|
2024-11-06 18:30:05 +01:00
|
|
|
- name: Cron - Dump paperless
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Dump paperless
|
|
|
|
minute: 47
|
|
|
|
job: /mnt/data/bin/healthcheck dump-paperless /mnt/data/bin/dump-paperless
|
2024-10-12 11:51:22 +02:00
|
|
|
- name: Cron - Dump miniflux
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Dump miniflux
|
|
|
|
minute: 50
|
|
|
|
job: /mnt/data/bin/healthcheck dump-miniflux /mnt/data/bin/dump-miniflux
|
|
|
|
- name: Cron - Dump nextcloud
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Dump nextcloud
|
|
|
|
minute: 52
|
|
|
|
job: /mnt/data/bin/healthcheck dump-nextcloud /mnt/data/bin/dump-nextcloud
|
2024-10-13 00:22:36 +02:00
|
|
|
disabled: true
|
2024-10-12 11:51:22 +02:00
|
|
|
- name: Cron - Dump voyages.coccomagnard.fr
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Dump voyages.coccomagnard.fr
|
|
|
|
minute: 55
|
|
|
|
job: /mnt/data/bin/healthcheck dump-voyages-coccomagnard-fr /mnt/data/bin/dump-voyages.coccomagnard.fr
|
|
|
|
- name: Cron - Dump gabnotes.org
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Dump gabnotes.org
|
|
|
|
minute: 56
|
|
|
|
job: /mnt/data/bin/healthcheck dump-gabnotes-org /mnt/data/bin/dump-gabnotes.org
|
|
|
|
- name: Cron - Dump voyages-lois.augendre.info
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Dump voyages-lois.augendre.info
|
|
|
|
minute: 57
|
|
|
|
job: /mnt/data/bin/healthcheck dump-voyages-lois-augendre-info /mnt/data/bin/dump-voyages-lois.augendre.info
|
2024-12-05 00:54:49 +01:00
|
|
|
- name: Cron - Download Freebox invoice
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Download Freebox invoice
|
|
|
|
minute: 0
|
|
|
|
hour: 13
|
|
|
|
day: 5
|
2024-12-06 18:19:09 +01:00
|
|
|
job: /mnt/data/bin/healthcheck downloader /mnt/data/bin/download-freebox
|
2024-12-05 22:56:01 +01:00
|
|
|
- name: Cron - Download Free Mobile invoice
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Download Free Mobile invoice
|
|
|
|
minute: 0
|
|
|
|
hour: 13
|
|
|
|
day: 30
|
2024-12-06 18:19:09 +01:00
|
|
|
job: /mnt/data/bin/healthcheck downloader /mnt/data/bin/download-free-mobile
|
2024-12-05 23:21:25 +01:00
|
|
|
- name: Cron - Download Eau du Grand Lyon invoice
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Download Eau du Grand Lyon invoice
|
|
|
|
minute: 0
|
|
|
|
hour: 13
|
|
|
|
day: 10
|
|
|
|
month: "6,12"
|
2024-12-06 18:19:09 +01:00
|
|
|
job: /mnt/data/bin/healthcheck downloader /mnt/data/bin/download-eau-du-grand-lyon
|
|
|
|
- name: Cron - Download Shiva payslip
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Download Shiva payslip
|
|
|
|
minute: 0
|
|
|
|
hour: 13
|
|
|
|
day: 10
|
|
|
|
job: /mnt/data/bin/healthcheck downloader /mnt/data/bin/download-shiva
|
2024-12-06 19:05:41 +01:00
|
|
|
- name: Cron - Download LCL bank statement
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Download LCL bank statement
|
|
|
|
minute: 0
|
|
|
|
hour: 13
|
|
|
|
day: 10
|
|
|
|
job: /mnt/data/bin/healthcheck downloader /mnt/data/bin/download-lcl-checking
|
2024-12-07 13:01:19 +01:00
|
|
|
- name: Cron - Download Octopus Energy proof of address
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: Download Octopus Energy proof of address
|
|
|
|
minute: 0
|
|
|
|
hour: 13
|
|
|
|
day: 15
|
|
|
|
job: /mnt/data/bin/healthcheck downloader /mnt/data/bin/download-octopus
|