aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Zhang <jeffrey.zhang@99cloud.net>2016-08-05 14:31:28 +0800
committerJeffrey Zhang <jeffrey.zhang@99cloud.net>2016-08-05 14:31:28 +0800
commit59b887dfb5b3a761a0cb0ff941684811dd2fbcee (patch)
treeba17362b4e9ee90491bb3f7f3c95f67c5f11ca6f
parent67e77035b8c2e88b6a8a7a00a449b036ff9bbf6b (diff)
downloadkolla-59b887dfb5b3a761a0cb0ff941684811dd2fbcee.tar.gz
kolla-59b887dfb5b3a761a0cb0ff941684811dd2fbcee.zip
Fix the evaluating conditional for enable es and kibana
Fix the wrong if condition for enable_elasticsearch and enable_kibana TrivialFix Change-Id: I3d649d39b9eafb4526d8919f1cb962f6378815c7
-rw-r--r--ansible/group_vars/all.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml
index bb84709c7..2f6c55b6f 100644
--- a/ansible/group_vars/all.yml
+++ b/ansible/group_vars/all.yml
@@ -250,8 +250,8 @@ num_nova_fake_per_node: 5
elasticsearch_address: "{{ kolla_internal_vip_address }}"
elasticsearch_protocol: "{{ internal_protocol }}"
-enable_elasticsearch: "{{ 'yes' if enable_central_logging | bool }}"
-enable_kibana: "{{ 'yes' if enable_central_logging | bool }}"
+enable_elasticsearch: "{{ 'yes' if enable_central_logging | bool else 'no' }}"
+enable_kibana: "{{ 'yes' if enable_central_logging | bool else 'no' }}"
####################
# RabbitMQ options