Browse Source

Merge pull request #4235 from sdodson/fix-yamllint

Fix yamllint problems
Scott Dodson 7 years ago
parent
commit
963c7c90af
1 changed files with 8 additions and 8 deletions
  1. 8 8
      roles/openshift_logging/tasks/generate_routes.yaml

+ 8 - 8
roles/openshift_logging/tasks/generate_routes.yaml

@@ -78,26 +78,26 @@
 
 - set_fact: es_key={{ lookup('file', openshift_logging_es_key) | b64encode }}
   when:
-    - openshift_logging_es_key | trim | length > 0
-    - openshift_logging_es_allow_external | bool
+  - openshift_logging_es_key | trim | length > 0
+  - openshift_logging_es_allow_external | bool
   changed_when: false
 
 - set_fact: es_cert={{ lookup('file', openshift_logging_es_cert)| b64encode  }}
   when:
-    - openshift_logging_es_cert | trim | length > 0
-    - openshift_logging_es_allow_external | bool
+  - openshift_logging_es_cert | trim | length > 0
+  - openshift_logging_es_allow_external | bool
   changed_when: false
 
 - set_fact: es_ca={{ lookup('file', openshift_logging_es_ca_ext)| b64encode  }}
   when:
-    - openshift_logging_es_ca_ext | trim | length > 0
-    - openshift_logging_es_allow_external | bool
+  - openshift_logging_es_ca_ext | trim | length > 0
+  - openshift_logging_es_allow_external | bool
   changed_when: false
 
 - set_fact: es_ca={{key_pairs | entry_from_named_pair('ca_file') }}
   when:
-    - es_ca is not defined
-    - openshift_logging_es_allow_external | bool
+  - es_ca is not defined
+  - openshift_logging_es_allow_external | bool
   changed_when: false
 
 - name: Generating Elasticsearch logging routes