diff options
author | Julien Dessaux | 2021-05-02 18:42:01 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-05-02 18:42:01 +0200 |
commit | 5d9a22501476b3384451b98eeb6b1dee65fed21d (patch) | |
tree | 51bcbd1914beda62ea450fb14bba3ee13670e52a /templates | |
parent | Fixed stupid ansible python sucks silent name collision (diff) | |
download | borg-ansible-role-5d9a22501476b3384451b98eeb6b1dee65fed21d.tar.gz borg-ansible-role-5d9a22501476b3384451b98eeb6b1dee65fed21d.tar.bz2 borg-ansible-role-5d9a22501476b3384451b98eeb6b1dee65fed21d.zip |
Reworked and improved borg role
Diffstat (limited to '')
-rw-r--r-- | templates/backup.sh.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/backup.sh.j2 b/templates/backup.sh.j2 index b1abb79..3937dfc 100644 --- a/templates/backup.sh.j2 +++ b/templates/backup.sh.j2 @@ -4,6 +4,8 @@ # ~~~~ ~~~~ # ############################################################################### +set -eu + export HOME=/root export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin export BORG_RSH="ssh -i /root/.ssh/borg" |