summaryrefslogtreecommitdiffstats
path: root/roles/check-compose
diff options
context:
space:
mode:
authorAdam Williamson <awilliam@redhat.com>2016-01-19 14:45:51 -0800
committerAdam Williamson <awilliam@redhat.com>2016-01-19 14:46:29 -0800
commit9a1f476909d94ccc33c2aaacafd8c96d335c4f88 (patch)
tree661fe3fec1f5a1e43fdbe14d9088f8144539ba43 /roles/check-compose
parentd9a2ebaf7c65b567fb81e02f6d6859a2ceaf3386 (diff)
downloadansible-9a1f476909d94ccc33c2aaacafd8c96d335c4f88.tar.gz
ansible-9a1f476909d94ccc33c2aaacafd8c96d335c4f88.tar.xz
ansible-9a1f476909d94ccc33c2aaacafd8c96d335c4f88.zip
check-compose: only send Postrelease report on error
Cloud folks want this email sent only if there's some kind of problem (missing image or openQA failure), I've just added an option to check-compose to allow for that, enable it here.
Diffstat (limited to 'roles/check-compose')
-rw-r--r--roles/check-compose/templates/check-compose.conf.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/check-compose/templates/check-compose.conf.j2 b/roles/check-compose/templates/check-compose.conf.j2
index 6622e74e5..4b8355180 100644
--- a/roles/check-compose/templates/check-compose.conf.j2
+++ b/roles/check-compose/templates/check-compose.conf.j2
@@ -27,3 +27,6 @@ loglevel: {{ checkcompose_loglevel }}
{% if checkcompose_postrelease_emailto is defined %}
email-to: {{ checkcompose_postrelease_emailto }}
{% endif %}
+{% if checkcompose_postrelease_emailerror is defined %}
+email-error: {{ checkcompose_postrelease_emailerror }}
+{% endif %}