Skip to content

Commit eae8153

Browse files
authored
Merge pull request #6 from cloudalchemy/superq/fix_template
Fix default template
2 parents 0447ecd + 2b25e84 commit eae8153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ alertmanager_irc_relay_irc_nickname_password: ""
1414
alertmanager_irc_relay_irc_realname: ""
1515

1616
alertmanager_irc_relay_notice_once_per_alert_group: "yes"
17-
alertmanager_irc_relay_notice_template: "{% raw %}Alert {{ .Labels.alertname }} on {{ .Labels.instance }} is {{ .Status }}{% endraw %}"
17+
alertmanager_irc_relay_notice_template: "{% raw %}{{ range .Alerts }}Alert {{ .Labels.alertname }} on {{ .Labels.instance }} is {{ .Status }} {{ end }}{% endraw %}"
1818

1919
alertmanager_irc_relay_channels: []

0 commit comments

Comments
 (0)