From e7dadc566265797301aaa4b6f166b219cda28413 Mon Sep 17 00:00:00 2001 From: ewolinetz Date: Wed, 12 Apr 2017 10:38:41 -0500 Subject: Addressing yamllint --- roles/openshift_logging/tasks/install_elasticsearch.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/openshift_logging/tasks/install_elasticsearch.yaml b/roles/openshift_logging/tasks/install_elasticsearch.yaml index 3e36f9d0c..b80f37892 100644 --- a/roles/openshift_logging/tasks/install_elasticsearch.yaml +++ b/roles/openshift_logging/tasks/install_elasticsearch.yaml @@ -60,8 +60,8 @@ es_dcs: "{{openshift_logging_facts.elasticsearch_ops.deploymentconfigs}}" cluster_size: "{{openshift_logging_es_ops_cluster_size|int}}" when: - - openshift_logging_use_ops | bool - - "{{es_dcs | length - openshift_logging_es_ops_cluster_size|int | abs > 1}}" + - openshift_logging_use_ops | bool + - "{{es_dcs | length - openshift_logging_es_ops_cluster_size|int | abs > 1}}" check_mode: no - set_fact: openshift_logging_es_ops_pvc_prefix="logging-es-ops" @@ -88,7 +88,7 @@ loop_control: loop_var: deployment when: - - openshift_logging_use_ops | bool + - openshift_logging_use_ops | bool ## if it does not then we should create one that does and attach it ## create new dc/pvc is needed @@ -109,4 +109,4 @@ es_number_of_replicas: "{{ openshift_logging_es_ops_number_of_replicas }}" with_sequence: count={{ openshift_logging_es_ops_cluster_size | int - openshift_logging_facts.elasticsearch_ops.deploymentconfigs | count }} when: - - openshift_logging_use_ops | bool + - openshift_logging_use_ops | bool -- cgit v1.2.3