disable cache for local repos

This commit is contained in:
nd 2021-08-18 12:49:15 +01:00
parent eed938b1b1
commit f0a5477790
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
5 changed files with 6 additions and 2 deletions

View file

@ -2,6 +2,7 @@
set_fact:
backup_backend: "{% if backups.mode in ['standalone-restic', 'hypervisor-restic'] %}restic{% else %}False{% endif %}"
backup_executor: "{% if backups.mode in ['vm-via-hypervisor'] %}False{% else %}True{% endif %}"
backup_restic_cache: "{% if backups.backends.restic.repo_type == 'local' %}False{% else %}True{% endif %}"
- name: create config folder
file: