Fix custom CA generation command

This commit is contained in:
Jose M 2019-08-05 15:02:33 +02:00
parent 39d8e5978b
commit 4b8303ece2

View File

@ -66,7 +66,7 @@
tags: xpack-security tags: xpack-security
- name: Generating certificates for Elasticsearch security (using provided CA) - name: Generating certificates for Elasticsearch security (using provided CA)
shell: /usr/share/elasticsearch/bin/elasticsearch-certutil cert --ca-key /usr/share/elasticsearch/myCA.key --ca-cert /usr/share/elasticsearch/myCA.pem --pem --in {{ node_certs_source }}/instances.yml --out {{ node_certs_source }}/certs.zip shell: /usr/share/elasticsearch/bin/elasticsearch-certutil cert --ca-key {{ node_certs_source }}/{{ ca_key_name }} --ca-cert {{ node_certs_source }}/{{ ca_cert_name }} --pem --in {{ node_certs_source }}/instances.yml --out {{ node_certs_source }}/certs.zip
when: when:
- node_certs_generator - node_certs_generator
- not xpack_certs_zip.stat.exists - not xpack_certs_zip.stat.exists