Index: main/waeup-ansible/templates/borg-env.sh.j2
===================================================================
--- main/waeup-ansible/templates/borg-env.sh.j2	(revision 15928)
+++ main/waeup-ansible/templates/borg-env.sh.j2	(revision 15928)
@@ -0,0 +1,27 @@
+#!/bin/bash
+#
+# Set env vars for easier execution of borg commands
+#
+# This script was generated from a template by ansible.
+#
+# Run it like this:
+#
+#  # . env-{{ item.fqdn }}
+#
+# Afterwards you can do something like
+#
+#  # borg list $REPO
+#  # borg check $REPO
+#  # borg list $REPO::2020-01-15_01:15
+#
+#
+
+# Sourcing the backup-passphrase
+. /root/backup/.borg_passphrase
+export REPO=ssh://{{ item.user }}@{{ item.fqdn }}:{{ item.port }}/./{{ item.home }}{{ item.pool }}/{{ inventory_hostname_short }}
+
+echo "Set \$BORG_PASSPHRASE and \$REPO"
+echo
+echo "Now you can do something like"
+echo "# borg list \$REPO"
+echo "# borg check \$REPO"
