diff options
Diffstat (limited to 'ansible/roles/borg-client')
-rw-r--r-- | ansible/roles/borg-client/tasks/main.yml | 8 | ||||
-rw-r--r-- | ansible/roles/borg-client/templates/bin/trygvis-borg-run-backup | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/ansible/roles/borg-client/tasks/main.yml b/ansible/roles/borg-client/tasks/main.yml new file mode 100644 index 0000000..79a9406 --- /dev/null +++ b/ansible/roles/borg-client/tasks/main.yml @@ -0,0 +1,8 @@ +--- +- name: packages + tags: packages + apt: + name: "{{ item }}" + install_recommends: no + with_items: + - borgbackup diff --git a/ansible/roles/borg-client/templates/bin/trygvis-borg-run-backup b/ansible/roles/borg-client/templates/bin/trygvis-borg-run-backup new file mode 100644 index 0000000..7f3e218 --- /dev/null +++ b/ansible/roles/borg-client/templates/bin/trygvis-borg-run-backup @@ -0,0 +1,5 @@ +#!/bin/bash + +set -euo pipefail + +/usr/bin/borg |