From 7d61190731e1b82ca9cee811b1f1c34059b980cd Mon Sep 17 00:00:00 2001 From: L3D Date: Mon, 4 Oct 2021 18:46:57 +0200 Subject: [PATCH] improve template typo --- templates/restic_forget_snapshots.j2 | 12 ++++++------ vars/main.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/restic_forget_snapshots.j2 b/templates/restic_forget_snapshots.j2 index b04ae42..36cfe55 100644 --- a/templates/restic_forget_snapshots.j2 +++ b/templates/restic_forget_snapshots.j2 @@ -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 diff --git a/vars/main.yml b/vars/main.yml index 5860019..ae45a59 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -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'