Smtplib was refused to send mail.
This commit is contained in:
@@ -67,8 +67,7 @@
|
||||
subject: Datenbank Backup
|
||||
body: System {{ ansible_hostname }} has been successfully provisioned.
|
||||
attach:
|
||||
- "{{ local_backup }}/{{ item.key }}/db-{{ ansible_date_time.iso8601_basic_short }}.sql.gz"
|
||||
delegate_to: localhost
|
||||
- "{{ backup_dir }}/{{ item.key }}/db-{{ ansible_date_time.iso8601_basic_short }}.sql.gz"
|
||||
when: item.value.email is defined
|
||||
loop: "{{ lookup('dict', customers) }}"
|
||||
loop_control:
|
||||
|
||||
Reference in New Issue
Block a user