Skip to content
Snippets Groups Projects
Verified Commit eed938b1 authored by nd's avatar nd
Browse files
parents 0c41eb63 d437e560
Branches
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@ backups:
restic:
url: /var/backup-client/restic
repo_type: local
repo_folder_create: true
additional_keys: {}
mode: vm-via-hypervisor
enabled: True
......
......
......@@ -196,7 +196,9 @@
export RESTIC_REPOSITORY="{{ backups.backends.restic.url }}"
export RESTIC_PASSWORD_FILE="/etc/backup-client/restic.key"
- name: create restic repository folder
when: backups.backends.restic.repo_type == 'local'
when:
- backups.backends.restic.repo_type == 'local'
- backups.backends.restic.repo_folder_create
file:
path: "{{ backups.backends.restic.url }}"
state: directory
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment