File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 55
66export RESTIC_REPOSITORY={{ restic_repos[item.repo].location }}
77export RESTIC_PASSWORD=' {{ restic_repos[item.repo].password | regex_replace(' \' ' , ' \'\\\'\' ' ) }}'
8+ {% if restic_repos[item.repo].google_project_id is defined %}
9+ export GOOGLE_PROJECT_ID={{ restic_repos[item.repo].google_project_id }}
10+ {% endif %}
11+ {% if restic_repos[item.repo].google_application_credentials is defined %}
12+ export GOOGLE_APPLICATION_CREDENTIALS={{ restic_repos[item.repo].google_application_credentials }}
13+ {% endif %}
814{% if restic_repos[item.repo].aws_access_key is defined %}
915export AWS_ACCESS_KEY_ID={{ restic_repos[item.repo].aws_access_key }}
1016{% endif %}
Original file line number Diff line number Diff line change @@ -54,6 +54,12 @@ export GOMAXPROCS={{ restic__max_cpus }}
5454export RESTIC_REPOSITORY={{ restic_repos[item.repo].location }}
5555export RESTIC_PASSWORD=' {{ restic_repos[item.repo].password | regex_replace(' \' ' , ' \'\\\'\' ' ) }}'
5656BACKUP_NAME={{ item.name }}
57+ {% if restic_repos[item.repo].google_project_id is defined %}
58+ export GOOGLE_PROJECT_ID={{ restic_repos[item.repo].google_project_id }}
59+ {% endif %}
60+ {% if restic_repos[item.repo].google_application_credentials is defined %}
61+ export GOOGLE_APPLICATION_CREDENTIALS={{ restic_repos[item.repo].google_application_credentials }}
62+ {% endif %}
5763{% if restic_repos[item.repo].aws_access_key is defined %}
5864export AWS_ACCESS_KEY_ID={{ restic_repos[item.repo].aws_access_key }}
5965{% endif %}
You can’t perform that action at this time.
0 commit comments