diff options
author | ewolinetz <ewolinet@redhat.com> | 2017-04-12 10:38:41 -0500 |
---|---|---|
committer | ewolinetz <ewolinet@redhat.com> | 2017-04-13 14:15:07 -0500 |
commit | e7dadc566265797301aaa4b6f166b219cda28413 (patch) | |
tree | b561c3e290a1315f563651e0f6c9f8d41fc31f60 /roles/openshift_logging | |
parent | ca59b5c384135f9bc0660e8e26ef50476283774d (diff) | |
download | openshift-e7dadc566265797301aaa4b6f166b219cda28413.tar.gz openshift-e7dadc566265797301aaa4b6f166b219cda28413.tar.bz2 openshift-e7dadc566265797301aaa4b6f166b219cda28413.tar.xz openshift-e7dadc566265797301aaa4b6f166b219cda28413.zip |
Addressing yamllint
Diffstat (limited to 'roles/openshift_logging')
-rw-r--r-- | roles/openshift_logging/tasks/install_elasticsearch.yaml | 8 |
1 files 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 |