From 692038994d13d731abe2934a826500cad941ba75 Mon Sep 17 00:00:00 2001 From: Maciej Mionskowski Date: Fri, 1 May 2020 10:56:07 +0200 Subject: [PATCH] Execute backup scripts in bash shell --- templates/restic_access_Linux.j2 | 1 + templates/restic_script_Linux.j2 | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/restic_access_Linux.j2 b/templates/restic_access_Linux.j2 index 1bfdf36..724c7ca 100644 --- a/templates/restic_access_Linux.j2 +++ b/templates/restic_access_Linux.j2 @@ -1,3 +1,4 @@ +#!/usr/bin/env bash # {{ ansible_managed }} # Backup credentials for {{ item.src|default('stdin') }} # Source this file to work with restic on this host diff --git a/templates/restic_script_Linux.j2 b/templates/restic_script_Linux.j2 index 3adb5f9..afae5cb 100644 --- a/templates/restic_script_Linux.j2 +++ b/templates/restic_script_Linux.j2 @@ -1,3 +1,4 @@ +#!/usr/bin/env bash # {{ ansible_managed }} # Backup script for {{ item.src|default('stdin') }} # Use this file to create a Backup and prune existing data with one execution.