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: