get restic path from environment

This commit is contained in:
2020-04-20 22:28:32 -05:00
parent e08ed9a2ec
commit b2f56598fa
5 changed files with 24 additions and 3 deletions

View File

@ -0,0 +1,7 @@
#!/bin/bash
# {{ ansible_managed }}
RESTIC_ETC_PATH="{{ restic_etc_path | default('/etc/restic') }}"
RESTIC_PATH="{{ restic_path | default('/usr/local/bin/restic') }}"
RESTIC_SELF_UPDATE={{ restic_self_update | ternary(1, 0) }}