re-add apprise alerts for backups

This commit is contained in:
Pim Kunis 2023-06-17 13:14:30 +02:00
parent feb29ed0bf
commit c9ebc76428
3 changed files with 6 additions and 3 deletions

View file

@ -15,3 +15,6 @@ hooks:
- guestunmount /mnt/thecloud && sleep 1
- virsh blockcommit tf-thecloud vdb --active --verbose --pivot
- rm /kvm/snapshots/thecloud.qcow2
- apprise --body="Backup succeeded" {{ apprise_url }} || true
on_error:
- apprise --body="Error while performing backup" {{ apprise_url }} || true

View file

@ -19,8 +19,8 @@
name: apprise
- name: Copy Borgmatic script
copy:
src: "{{ role_path }}/backup.yml"
template:
src: "{{ role_path }}/backup.yml.j2"
dest: /root/backup.yml
- name: Copy systemd backup unit

View file

@ -1 +1 @@
apprise_url: 'apprise://192.168.30.9:3003/backups'
apprise_url: 'apprises://apprise.pim.kunis.nl:444/backups'