Change variable name for mail password in strato backup.
This commit is contained in:
@@ -62,8 +62,8 @@
|
|||||||
host: smtp.vodafonemail.de
|
host: smtp.vodafonemail.de
|
||||||
port: 465
|
port: 465
|
||||||
username: christiansteinle@arcor.de
|
username: christiansteinle@arcor.de
|
||||||
password: "{{ mail-password }}"
|
password: "{{ mail_password }}"
|
||||||
to: {{ item.value.email }}
|
to: "{{ item.value.email }}"
|
||||||
subject: Datenbank Backup
|
subject: Datenbank Backup
|
||||||
body: System {{ ansible_hostname }} has been successfully provisioned.
|
body: System {{ ansible_hostname }} has been successfully provisioned.
|
||||||
attach:
|
attach:
|
||||||
@@ -74,7 +74,6 @@
|
|||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.key }}"
|
label: "{{ item.key }}"
|
||||||
|
|
||||||
|
|
||||||
- name: Clean backup directory
|
- name: Clean backup directory
|
||||||
file:
|
file:
|
||||||
path: "{{ backup_dir }}"
|
path: "{{ backup_dir }}"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ systems: ['buehler', 'scheidle', 'roundcube', 'svj']
|
|||||||
databases: ['buehler', 'scheidle', 'roundcube', 'svj']
|
databases: ['buehler', 'scheidle', 'roundcube', 'svj']
|
||||||
mysql_databases: ['buehler', 'scheidle', 'roundcube', 'svj']
|
mysql_databases: ['buehler', 'scheidle', 'roundcube', 'svj']
|
||||||
local_backup: /home/semaphore/backup
|
local_backup: /home/semaphore/backup
|
||||||
mail-password: !vault |
|
mail_password: !vault |
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
61393862616339373134316535306665363535653031656531376130353634613537376131626536
|
61393862616339373134316535306665363535653031656531376130353634613537376131626536
|
||||||
3033323466386366613136383164653730343634636139630a663766663163333038373132343331
|
3033323466386366613136383164653730343634636139630a663766663163333038373132343331
|
||||||
|
|||||||
Reference in New Issue
Block a user