Change variable name for mail password in strato backup.

This commit is contained in:
2024-02-24 10:41:04 +01:00
parent d757b989a3
commit fb744b2ad8
2 changed files with 3 additions and 4 deletions

View File

@@ -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 }}"

View File

@@ -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