diff --git a/roles/docker/templates/restic/failure.sh.j2 b/roles/docker/templates/restic/failure.sh.j2 index 757f4ed..78e3d64 100644 --- a/roles/docker/templates/restic/failure.sh.j2 +++ b/roles/docker/templates/restic/failure.sh.j2 @@ -1,5 +1,5 @@ #!/bin/sh -curl smtp://{{ smtp_host }} --mail-from {{ services.restic.mail_from }} --mail-rcpt admin@data.coop --upload-file . << END_OF_MAIL +curl --silent smtp://{{ smtp_host }} --mail-from {{ services.restic.mail_from }} --mail-rcpt admin@data.coop --upload-file . << END_OF_MAIL From: Restic backup <{{ services.restic.mail_from }}> To: admin@data.coop Subject: Restic backup failed diff --git a/roles/docker/templates/restic/success.sh.j2 b/roles/docker/templates/restic/success.sh.j2 index 656f85d..24eba7e 100644 --- a/roles/docker/templates/restic/success.sh.j2 +++ b/roles/docker/templates/restic/success.sh.j2 @@ -1,2 +1,2 @@ #!/bin/sh -curl '{{ restic_secrets.uptime_kuma_url }}' +curl --silent '{{ restic_secrets.uptime_kuma_url }}'