From 67b039bbdc8940221133e6f1080936be5c1c177b Mon Sep 17 00:00:00 2001 From: chris Date: Sat, 24 Feb 2024 11:07:42 +0100 Subject: [PATCH] Smtplib was refused to send mail. --- strato-production.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/strato-production.yaml b/strato-production.yaml index 37bfc91..6962d96 100644 --- a/strato-production.yaml +++ b/strato-production.yaml @@ -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: