From fb744b2ad89b463f1f65f2d92dcdd973338e8ebd Mon Sep 17 00:00:00 2001 From: chris Date: Sat, 24 Feb 2024 10:41:04 +0100 Subject: [PATCH] Change variable name for mail password in strato backup. --- strato-production.yaml | 5 ++--- vars/strato-production.yaml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/strato-production.yaml b/strato-production.yaml index e9959a5..201f833 100644 --- a/strato-production.yaml +++ b/strato-production.yaml @@ -62,8 +62,8 @@ host: smtp.vodafonemail.de port: 465 username: christiansteinle@arcor.de - password: "{{ mail-password }}" - to: {{ item.value.email }} + password: "{{ mail_password }}" + to: "{{ item.value.email }}" subject: Datenbank Backup body: System {{ ansible_hostname }} has been successfully provisioned. attach: @@ -74,7 +74,6 @@ loop_control: label: "{{ item.key }}" - - name: Clean backup directory file: path: "{{ backup_dir }}" diff --git a/vars/strato-production.yaml b/vars/strato-production.yaml index 62bb801..f108d15 100644 --- a/vars/strato-production.yaml +++ b/vars/strato-production.yaml @@ -3,7 +3,7 @@ systems: ['buehler', 'scheidle', 'roundcube', 'svj'] databases: ['buehler', 'scheidle', 'roundcube', 'svj'] mysql_databases: ['buehler', 'scheidle', 'roundcube', 'svj'] local_backup: /home/semaphore/backup -mail-password: !vault | +mail_password: !vault | $ANSIBLE_VAULT;1.1;AES256 61393862616339373134316535306665363535653031656531376130353634613537376131626536 3033323466386366613136383164653730343634636139630a663766663163333038373132343331