mirror of
https://github.com/roles-ansible/ansible_role_restic_archiver.git
synced 2024-08-16 10:09:49 +02:00
do not perform actual backup
This commit is contained in:
parent
57ee610e1b
commit
721b88b0fd
1 changed files with 2 additions and 2 deletions
|
@ -103,14 +103,14 @@ else
|
||||||
MODE_TAG="--tag cron"
|
MODE_TAG="--tag cron"
|
||||||
fi
|
fi
|
||||||
{% if item.stdin is defined and item.stdin == true %}
|
{% if item.stdin is defined and item.stdin == true %}
|
||||||
{{ item.stdin_cmd }} | {{ restic_install_path }}/restic backup \
|
#{{ item.stdin_cmd }} | {{ restic_install_path }}/restic backup \
|
||||||
--stdin $MODE_TAG \
|
--stdin $MODE_TAG \
|
||||||
{{ tags(item.tags) }} \
|
{{ tags(item.tags) }} \
|
||||||
{{ stdin_filename(item.stdin_filename) }} \
|
{{ stdin_filename(item.stdin_filename) }} \
|
||||||
{% if item.exclude is defined %}{{ exclude(item.exclude) }}{% endif %} \
|
{% if item.exclude is defined %}{{ exclude(item.exclude) }}{% endif %} \
|
||||||
$@
|
$@
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ restic_install_path }}/restic backup $BACKUP_SOURCE $MODE_TAG \
|
#{{ restic_install_path }}/restic backup $BACKUP_SOURCE $MODE_TAG \
|
||||||
{{ tags(item.tags) }} \
|
{{ tags(item.tags) }} \
|
||||||
{% if item.exclude is defined %}{{ exclude(item.exclude) }}{% endif %} \
|
{% if item.exclude is defined %}{{ exclude(item.exclude) }}{% endif %} \
|
||||||
$@
|
$@
|
||||||
|
|
Loading…
Reference in a new issue