From 532c0bf7fa2472fb77563b4b435bfe307b6b4350 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Sun, 22 Dec 2024 21:31:28 +0000 Subject: [PATCH] fix: template password vsyncdir --- group_vars/all.yaml | 3 +++ roles/backup-vm/files/vsyncdir.conf | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/group_vars/all.yaml b/group_vars/all.yaml index 2e51ff0..eab849d 100644 --- a/group_vars/all.yaml +++ b/group_vars/all.yaml @@ -20,6 +20,9 @@ icinga_api_pass: "HISTORY_PURGED_SECRET" icinga_api_url: "https://192.168.122.107:5665" icinga_web_url: "https://icinga.atlantishq.de/" +backup_vsyncdir_password: HISTORY_PURGED_SECRET + + event_dispatcher_host: dispatcher.atlantishq.de event_dispatcher_proto: https event_dispatcher_port: 443 diff --git a/roles/backup-vm/files/vsyncdir.conf b/roles/backup-vm/files/vsyncdir.conf index 78ca8f4..539da7d 100644 --- a/roles/backup-vm/files/vsyncdir.conf +++ b/roles/backup-vm/files/vsyncdir.conf @@ -11,7 +11,7 @@ type = "caldav" read_only = true url = "https://ths.atlantishq.de/remote.php/dav/calendars/backup/ths_shared_by_ths/" username = "backup" -password = "HISTORY_PURGED_SECRET" +password = "{{ backup_vsyncdir_password }}" [storage ths_local_caldav] type = "filesystem" @@ -28,7 +28,7 @@ type = "carddav" read_only = true url = "https://ths.atlantishq.de/remote.php/dav/addressbooks/users/backup/ths_shared_by_ths/" username = "backup" -password = "HISTORY_PURGED_SECRET" +password = "{{ backup_vsyncdir_password }}" [storage ths_local_carddav] type = "filesystem" @@ -46,7 +46,7 @@ type = "carddav" read_only = true url = "https://ths.atlantishq.de/remote.php/dav/addressbooks/users/backup/ths-telefon-1_shared_by_ths/" username = "backup" -password = "HISTORY_PURGED_SECRET" +password = "{{ backup_vsyncdir_password }}" [storage ths_local_carddav_telefon] type = "filesystem"