1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic_archiver.git synced 2024-08-16 10:09:49 +02:00

improve template typo

This commit is contained in:
L3D 2021-10-04 18:46:57 +02:00
parent d6d73090c6
commit 7d61190731
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 7 additions and 7 deletions

View file

@ -3,15 +3,15 @@
# This file is to cleanup your backup archive and move some snapshots to a external storage.
{% if restic_archiver__cache_config | bool %}
{% incluede 'includes/restic_cache.sh.j2' %}
{% include 'includes/restic_cache.sh.j2' %}
{% endif %}
{% if restic_archiver__mail_on_error | bool %}
{% incluede 'includes/set_send_mail_on_error_variable.sh.j2' %}
{% include 'includes/set_send_mail_on_error_variable.sh.j2' %}
{% endif %}
{% if restic_archiver__mail_report | default(false) %}
{% incluede 'includes/mail_report_header.sh.j2' %}
{% include 'includes/mail_report_header.sh.j2' %}
{% endif %}
{% for repo in restic_archiver__repos %}
@ -66,7 +66,7 @@ START DOING STUFF INSIDE THE RESTIC REPO FOR LOOP
{% if restic_archiver__mount_required %}
{% incluede 'includes/mounting.sh.j2' %}
{% include 'includes/mounting.sh.j2' %}
{% endif %}
# Settings for Server {{ repo['name'] | string }}
@ -129,7 +129,7 @@ BACKUP_NAME="{{ repo.name }}_archive"
echo "init $BACKUP_NAME"
{% if restic_archiver__mount_required %}
{% incluede 'includes/mounting.sh.j2' %}
{% include 'includes/mounting.sh.j2' %}
fi
{% endif %}
@ -143,7 +143,7 @@ export RESTIC_PASSWORD2='{{ repo['archive_password'] | regex_replace('\'', '\'\\
export RESTIC_REPOSITORY="{{ repo['location'] }}"
export RESTIC_PASSWORD='{{ repo['password'] | regex_replace('\'', '\'\\\'\'') }}' 2>/dev/null
{% if restic_archiver__mount_required %}
{% incluede 'includes/mounting.sh.j2' %}
{% include 'includes/mounting.sh.j2' %}
{% endif %}
# transfer snapshots to archive

View file

@ -1,3 +1,3 @@
---
playbook_version_number: 47 # should be int
playbook_version_number: 48 # should be int
playbook_version_path: 'role-restic_archiver_roles-ansible_github.com.version'