Fix linting errors

Fixed linting on xpack_security.yml
This commit is contained in:
Manuel Gutierrez 2019-09-24 11:09:21 +02:00
parent a1359495a9
commit 02425e0c85

View File

@ -78,7 +78,7 @@
- node_certs_generator - node_certs_generator
- not xpack_certs_zip.stat.exists - not xpack_certs_zip.stat.exists
- not generate_CA - not generate_CA
- ca_password == "" - ca_password | length == 0
tags: xpack-security tags: xpack-security
- name: Generating certificates for Elasticsearch security (using provided CA | Using CA Password) - name: Generating certificates for Elasticsearch security (using provided CA | Using CA Password)
@ -91,7 +91,7 @@
- node_certs_generator - node_certs_generator
- not xpack_certs_zip.stat.exists - not xpack_certs_zip.stat.exists
- not generate_CA - not generate_CA
- ca_password != "" - ca_password | length > 0
tags: xpack-security tags: xpack-security
- name: Verify the Elastic certificates directory - name: Verify the Elastic certificates directory
@ -179,4 +179,3 @@
echo {{ elasticsearch_xpack_security_password }} | {{ node_certs_source }}/bin/elasticsearch-keystore add -xf bootstrap.password echo {{ elasticsearch_xpack_security_password }} | {{ node_certs_source }}/bin/elasticsearch-keystore add -xf bootstrap.password
when: when:
- node_certs_generator - node_certs_generator