Merge branch 'master' of ssh://git-ssh.notandy.de:2222/ansible/roles/backup-client

This commit is contained in:
nd 2021-10-19 00:48:22 +02:00
commit 9ddce74914
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
8 changed files with 12 additions and 4 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:
@ -106,7 +107,7 @@
state: directory
owner: root
group: root
mode: 0700
mode: 0711
- name: create a remote sftp user if enabled
when: