Fix the evaluating conditional for enable es and kibana

Fix the wrong if condition for enable_elasticsearch and
enable_kibana

TrivialFix

Change-Id: I3d649d39b9eafb4526d8919f1cb962f6378815c7
This commit is contained in:
Jeffrey Zhang 2016-08-05 14:31:28 +08:00
parent 67e77035b8
commit 59b887dfb5
1 changed files with 2 additions and 2 deletions

View File

@ -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