Add healthchecksio provider and refactor ip-for-host collection
This commit is contained in:
parent
ed51a86935
commit
6fdfd338a1
14 changed files with 147 additions and 49 deletions
roles/backup/vars
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue