diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml
index bb84709c7a..2f6c55b6fa 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