mirror of
https://github.com/roles-ansible/ansible_role_restic/
synced 2024-12-11 20:30:18 +01:00
Merge pull request #120 from johanvdw/quote_multiple_sources
Make sure backup source list is escaped
This commit is contained in:
commit
c70e0d660a
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ export B2_ACCOUNT_KEY={{ restic_repos[item.repo].b2_account_key }}
|
||||||
BACKUP_SOURCE={{ item.src }}
|
BACKUP_SOURCE={{ item.src }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.src is defined and item.src.__class__.__name__ =='list' %}
|
{% if item.src is defined and item.src.__class__.__name__ =='list' %}
|
||||||
BACKUP_SOURCE={{ item.src| join(' ') }}
|
BACKUP_SOURCE='{{ item.src| join(' ') }}'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if item.lvm is defined %}
|
{% if item.lvm is defined %}
|
||||||
|
|
Loading…
Reference in a new issue