Use meaningful email body.
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
password: "{{ mail_password }}"
|
||||
to: "{{ item.value.email }}"
|
||||
subject: Datenbank Backup
|
||||
body: System {{ ansible_hostname }} has been successfully provisioned.
|
||||
body: Backup der Anwendung wurde erstellt.
|
||||
attach:
|
||||
- "{{ backup_dir }}/{{ item.key }}/db-{{ ansible_date_time.iso8601_basic_short }}.sql.gz"
|
||||
when: item.value.email is defined
|
||||
|
||||
Reference in New Issue
Block a user