mirror of
https://github.com/roles-ansible/ansible_role_restic/
synced 2024-11-15 08:00:18 +01:00
11 lines
358 B
Text
11 lines
358 B
Text
|
# {{ ansible_managed }}
|
||
|
# Backup credentials for {{ item.src|default('stdin') }}
|
||
|
# Source this file to work with restic on this host
|
||
|
|
||
|
export RESTIC_REPOSITORY={{ restic_repos[item.repo].location }}
|
||
|
export RESTIC_PASSWORD={{ restic_repos[item.repo].password }}
|
||
|
BACKUP_NAME={{ item.name }}
|
||
|
{% if item.src is defined %}
|
||
|
BACKUP_SOURCE={{ item.src }}
|
||
|
{% endif %}
|