diff options
| author | Ralph Bean <rbean@redhat.com> | 2016-03-01 20:31:57 +0000 |
|---|---|---|
| committer | Ralph Bean <rbean@redhat.com> | 2016-03-01 20:32:03 +0000 |
| commit | bd5141a73ed8ac3765989ad8665d2c75e86454b2 (patch) | |
| tree | 115ba79dba4845f48a629f219f9cb77ccf23d6ae /roles/fedmsg/base/templates | |
| parent | b33b969c2507443438a721879e88c314cd8818c8 (diff) | |
| download | ansible-bd5141a73ed8ac3765989ad8665d2c75e86454b2.tar.gz ansible-bd5141a73ed8ac3765989ad8665d2c75e86454b2.tar.xz ansible-bd5141a73ed8ac3765989ad8665d2c75e86454b2.zip | |
A first stab at delegating out fedmsg error emails.
Diffstat (limited to 'roles/fedmsg/base/templates')
| -rw-r--r-- | roles/fedmsg/base/templates/logging.py.j2 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/roles/fedmsg/base/templates/logging.py.j2 b/roles/fedmsg/base/templates/logging.py.j2 index a29096ba4..a5cb5816d 100644 --- a/roles/fedmsg/base/templates/logging.py.j2 +++ b/roles/fedmsg/base/templates/logging.py.j2 @@ -177,7 +177,11 @@ config = dict( "level": "ERROR", "mailhost": "bastion.phx2.fedoraproject.org", "fromaddr": "fedmsg@fedoraproject.org", - "toaddrs": ["sysadmin-datanommer-members@fedoraproject.org"], + "toaddrs": [ + % for recipient in fedmsg_error_recipients: + "{{recipient}}", + % endfor + ], "subject": "fedmsg error log %s" % socket.gethostname(), }, ), |
