mirror of
https://github.com/roles-ansible/ansible_role_restic/
synced 2024-11-09 21:33:31 +01:00
commit
e825ef2e29
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ trap "rm -f $pid" SIGSEGV
|
|||
trap "rm -f $pid" SIGINT
|
||||
|
||||
if [ -e $pid ]; then
|
||||
echo "A nother version of this restic backup script is already running!"
|
||||
echo "Another version of this restic backup script is already running!"
|
||||
{% if item.mail_on_error is defined and item.mail_on_error == true %}
|
||||
mail -s "starting restic backup failed on {{ ansible_hostname }}" {{ item.mail_address }} <<< "Another restic backup process is already running. We canceled starting a new restic backup script running at {{ ansible_hostname }} at $(date -u '+%Y-%m-%d %H:%M:%S').
|
||||
{%- if item.src is defined -%}
|
||||
|
|
Loading…
Reference in a new issue