Browse Source

Make possible to set multiple admins emails

Emmanuel Bouthenot 10 năm trước cách đây
mục cha
commit
dd01626a87
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      roles/common/templates/aliases.j2

+ 2 - 2
roles/common/templates/aliases.j2

@@ -15,6 +15,6 @@ logcheck:       root
 clamav:         root
 monit:          root
 
-{% if admin_email is defined %}
-root:           {{ admin_email }}
+{% if admins_emails is defined %}
+root:           {{ admins_emails | join(', ') }}
 {% endif %}