diff options
Diffstat (limited to 'ansible/roles/neutron/templates/neutron.conf.j2')
| -rw-r--r-- | ansible/roles/neutron/templates/neutron.conf.j2 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ansible/roles/neutron/templates/neutron.conf.j2 b/ansible/roles/neutron/templates/neutron.conf.j2 index 024ad09e6..472431e1b 100644 --- a/ansible/roles/neutron/templates/neutron.conf.j2 +++ b/ansible/roles/neutron/templates/neutron.conf.j2 @@ -91,9 +91,10 @@ memcached_servers = {% for host in groups['memcached'] %}{% if orchestration_eng {% endif %} [oslo_messaging_notifications] -{% if enable_ceilometer | bool %} +{% if enable_ceilometer | bool or enable_designate | bool %} driver = messagingv2 -topics = notifications +{% set topics=["notifications" if enable_ceilometer|bool else "", "notifications_designate" if enable_designate|bool else ""] %} +topcis = {{ topics|reject("equalto", "")|list|join(",") }} {% else %} driver = noop {% endif %} |
