diff --git a/templates/includes/repo_todos.sh.j2 b/templates/includes/repo_todos.sh.j2 index b6e4c8d..7cb6f0d 100644 --- a/templates/includes/repo_todos.sh.j2 +++ b/templates/includes/repo_todos.sh.j2 @@ -103,7 +103,7 @@ START DOING STUFF INSIDE THE RESTIC REPO FOR LOOP echo "init $BACKUP_NAME" restic {{ restic_archiver__default_opt }} forget {{ retention_pattern(repo) }} echo "restic forget done" - {%- if repo.prune|default(restic_archiver__prune) %} + {% if repo.prune|default(restic_archiver__prune) %} restic {{ restic_archiver__default_opt }} prune echo "restic prune done" {% endif %} @@ -176,7 +176,7 @@ EOT BACKUP_NAME="{{ repo.name }}_archive" restic {{ restic_archiver__default_opt }} forget {{ retention_archive_pattern(repo) }} - {%- if repo.prune|default(restic_archiver__prune) %} + {% if repo.prune|default(restic_archiver__prune) %} restic {{ restic_archiver__default_opt }} prune echo "restic ARCHIVE prune done" {% endif %} diff --git a/vars/main.yml b/vars/main.yml index 89ac0ad..3f7503c 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,3 +1,3 @@ --- -playbook_version_number: 52 # should be int +playbook_version_number: 53 # should be int playbook_version_path: 'role-restic_archiver_roles-ansible_github.com.version'