Make sure list is escaped

This commit is contained in:
Johan Van de Wauw 2024-03-11 09:27:45 +01:00
parent 1a9993cda3
commit e3f0c932df
No known key found for this signature in database

View file

@ -79,7 +79,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 %}