add restic role
This commit is contained in:
6
roles/restic/templates/env.sh.j2
Normal file
6
roles/restic/templates/env.sh.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
export RESTIC_REPOSITORY="{{ item.repo }}"
|
||||
{% for k, v in item.environment.items() %}
|
||||
export {{ k | upper }}="{{ v }}"
|
||||
{% endfor %}
|
3
roles/restic/templates/exclude.txt.j2
Normal file
3
roles/restic/templates/exclude.txt.j2
Normal file
@@ -0,0 +1,3 @@
|
||||
{% for exclude in item.exclude %}
|
||||
{{ exclude }}
|
||||
{% endfor %}
|
Reference in New Issue
Block a user