Skip to content

Commit

Permalink
Missing space and single quotes for template
Browse files Browse the repository at this point in the history
  • Loading branch information
nuriel77 committed Dec 21, 2017
1 parent ac35017 commit 5a70158
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/monitoring/templates/alertmanager.cfg.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ receivers:
email_configs:
- to: {{ alertmanager_email_to }}
from: {{ alertmanager_email_from }}@{{ ansible_hostname }}
html: {% raw %}{{ template "email.tmpl" . }}{% endraw %}
html: {% raw %}'{{ template "email.tmpl" . }}'{% endraw %}

smarthost: {{ smtp_host }}:{{ smtp_port }}

# For gmail, replace the variables/placeholders with your data
Expand Down

0 comments on commit 5a70158

Please sign in to comment.