aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-10-03 10:49:32 +0000
committerGerrit Code Review <review@openstack.org>2016-10-03 10:49:32 +0000
commit74c508faa5ff3c22abcc69e642874878e0d55957 (patch)
tree72a21d7709c7807e9cc44187de1fa0b4e0f8252b
parentbbf9b90b061d1c53633471d1a332eaad433e9ef7 (diff)
parentbfd032add4a406c393aafb812b588a973db1f67a (diff)
downloadkolla-74c508faa5ff3c22abcc69e642874878e0d55957.tar.gz
kolla-74c508faa5ff3c22abcc69e642874878e0d55957.zip
Merge "Add CADF event configurations in Keystone when enabled"
-rw-r--r--ansible/roles/keystone/templates/keystone.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/keystone/templates/keystone.conf.j2 b/ansible/roles/keystone/templates/keystone.conf.j2
index c5f2f95a4..6f73e98a0 100644
--- a/ansible/roles/keystone/templates/keystone.conf.j2
+++ b/ansible/roles/keystone/templates/keystone.conf.j2
@@ -1,6 +1,6 @@
[DEFAULT]
debug = {{ keystone_logging_debug }}
-{% if enable_cadf_notifications %}
+{% if enable_cadf_notifications | bool %}
notification_format = cadf
transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}:{{ rabbitmq_password }}@{% if orchestration_engine == 'KUBERNETES' %}rabbitmq{% else %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}{% endif %}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
{% endif %}
@@ -44,7 +44,7 @@ memcache_servers = {{ memcached_servers }}
memcache_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}
{%- endif %}
-{% if enable_cadf_notifications %}
+{% if enable_cadf_notifications | bool %}
[oslo_messaging_notifications]
driver = messagingv2
{% endif %}