diff options
Diffstat (limited to 'roles/monitoring/prometheus/alertmanager/templates/alertmanager.yml.j2')
-rw-r--r-- | roles/monitoring/prometheus/alertmanager/templates/alertmanager.yml.j2 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/roles/monitoring/prometheus/alertmanager/templates/alertmanager.yml.j2 b/roles/monitoring/prometheus/alertmanager/templates/alertmanager.yml.j2 index 3c7fb37e..7374dedc 100644 --- a/roles/monitoring/prometheus/alertmanager/templates/alertmanager.yml.j2 +++ b/roles/monitoring/prometheus/alertmanager/templates/alertmanager.yml.j2 @@ -1,12 +1,12 @@ # {{ ansible_managed }} global: - smtp_smarthost: '{{ promethues_alertmanager_smtp.smarthost }}' - smtp_from: '{{ promethues_alertmanager_smtp.from }}' - smtp_require_tls: {{ promethues_alertmanager_smtp.require_tls | ternary('true', 'false') }} -{% if 'auth' in promethues_alertmanager_smtp %} - smtp_auth_username: '{{ promethues_alertmanager_smtp.auth.username }}' - smtp_auth_password: '{{ promethues_alertmanager_smtp.auth.password }}' + smtp_smarthost: '{{ prometheus_alertmanager_smtp.smarthost }}' + smtp_from: '{{ prometheus_alertmanager_smtp.from }}' + smtp_require_tls: {{ prometheus_alertmanager_smtp.require_tls | ternary('true', 'false') }} +{% if 'auth' in prometheus_alertmanager_smtp %} + smtp_auth_username: '{{ prometheus_alertmanager_smtp.auth.username }}' + smtp_auth_password: '{{ prometheus_alertmanager_smtp.auth.password }}' {% endif %} route: |