diff --git a/ansible/roles/apps/templates/settings/prometheus-stack.yaml b/ansible/roles/apps/templates/settings/prometheus-stack.yaml index 64bb277757eb3d25fd95eb7f9a227e02c5833e06..013d1c0346b46994b3f99df0c66e35d633b0a9ae 100644 --- a/ansible/roles/apps/templates/settings/prometheus-stack.yaml +++ b/ansible/roles/apps/templates/settings/prometheus-stack.yaml @@ -16,7 +16,7 @@ alertmanager: config: {% if outgoing_mail.enabled %} global: - smtp_from: "alertmanager@{{ domain }}" + smtp_from: "{{ outgoing_mail.fromAddress }}" smtp_smarthost: "{{ outgoing_mail.smtp.host }}:{{ outgoing_mail.smtp.port }}" smtp_auth_username: "{{ outgoing_mail.smtp.user }}" smtp_auth_password: "{{ outgoing_mail.smtp.password }}"