summaryrefslogtreecommitdiffstats
path: root/roles/anitya/fedmsg
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2015-06-12 16:27:31 +0000
committerRalph Bean <rbean@redhat.com>2015-06-12 16:27:45 +0000
commit60dbdd00cffcfa3c19ec056f3e9e8eacf00fdbdb (patch)
tree917667921232aff9df74fb261704a90a8790f20b /roles/anitya/fedmsg
parent7acd9320253f77985b8a7179c607a9772c684462 (diff)
downloadansible-60dbdd00cffcfa3c19ec056f3e9e8eacf00fdbdb.tar.gz
ansible-60dbdd00cffcfa3c19ec056f3e9e8eacf00fdbdb.tar.xz
ansible-60dbdd00cffcfa3c19ec056f3e9e8eacf00fdbdb.zip
Try dynamically generating some fedmsg config from group/host vars in staging.
Diffstat (limited to 'roles/anitya/fedmsg')
-rw-r--r--roles/anitya/fedmsg/templates/base.py.j25
1 files changed, 2 insertions, 3 deletions
diff --git a/roles/anitya/fedmsg/templates/base.py.j2 b/roles/anitya/fedmsg/templates/base.py.j2
index 6aa831b3e..8a9bcee4c 100644
--- a/roles/anitya/fedmsg/templates/base.py.j2
+++ b/roles/anitya/fedmsg/templates/base.py.j2
@@ -1,7 +1,6 @@
config = dict(
- topic_prefix="org.release-monitoring",
-
- environment="prod",
+ topic_prefix="{{ fedmsg_prefix }}",
+ environment="{{ fedmsg_env }}",
# This used to be set to 1 for safety, but it turns out it was
# excessive. It is the number of seconds that fedmsg should sleep