1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic.git synced 2024-12-11 23:41:32 +01:00

Make sure stdin keeps working

This commit is contained in:
Johan Van de Wauw 2023-10-12 08:54:36 +02:00
parent 97240d044f
commit 304dc65ae9

View file

@ -183,7 +183,7 @@ set -uxo pipefail
Define paths Define paths
#} #}
{% macro paths(repo) -%} {% macro paths(repo) -%}
{% if repo.src is defined and repo.src != None and (repo.src is not string) %}{%for path in repo.src %} --path {{ path }}{% endfor %}{%elif repo.src is string %}--path {{repo.src}} {% else %}{{ repo.stdin_filename }}{% endif %} {% if repo.src is defined and repo.src != None and (repo.src is not string) %}{%for path in repo.src %} --path {{ path }}{% endfor %}{%elif repo.src is string %}--path {{repo.src}} {% else %} --path {{ repo.stdin_filename }}{% endif %}
{%- endmacro %} {%- endmacro %}
{# {#
Define retention pattern Define retention pattern