Add healthchecksio provider and refactor ip-for-host collection

This commit is contained in:
Tobias Reisinger 2024-10-06 17:08:25 +02:00
parent ed51a86935
commit 6fdfd338a1
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
14 changed files with 147 additions and 49 deletions
roles/backup/vars

View file

@ -13,7 +13,7 @@ backup_msg_success: "Backup successful"
backup_curl_base: 'curl -L -m 10 --retry 5'
backup_hc_curl_base: '{{ backup_curl_base }} -X POST -H "Content-Type: text/plain"'
backup_uk_curl_base: '{{ backup_curl_base }}'
backup_hc_url: 'https://hc-ping.com/{{ host_backup.hc_uid }}'
backup_hc_url: '{{ host_backup.hc_url }}'
backup_uk_url: 'https://status.serguzim.me/api/push/{{ host_backup.uptime_kuma_token }}'
backup_hc_command_start: '{{ backup_hc_curl_base }} --data "{{ backup_msg_start }}" {{ backup_hc_url }}/start'