Fix shell comands
This commit is contained in:
parent
2104183cdb
commit
1d8f8c5253
@ -111,9 +111,9 @@
|
|||||||
- elasticsearch_xpack_security
|
- elasticsearch_xpack_security
|
||||||
|
|
||||||
- name: Generating certificates for Elasticsearch security
|
- name: Generating certificates for Elasticsearch security
|
||||||
command: >-
|
shell: >-
|
||||||
"/usr/share/elasticsearch/bin/elasticsearch-certutil cert ca --pem --in
|
/usr/share/elasticsearch/bin/elasticsearch-certutil cert ca --pem --in
|
||||||
{{ node_certs_source }}/instances.yml --out {{ node_certs_source }}/certs.zip"
|
{{ node_certs_source }}/instances.yml --out {{ node_certs_source }}/certs.zip
|
||||||
when:
|
when:
|
||||||
- node_certs_generator
|
- node_certs_generator
|
||||||
- elasticsearch_xpack_security
|
- elasticsearch_xpack_security
|
||||||
@ -205,10 +205,10 @@
|
|||||||
tags: configure
|
tags: configure
|
||||||
|
|
||||||
- name: Set elasticsearch bootstrap password
|
- name: Set elasticsearch bootstrap password
|
||||||
shell: |
|
shell: >-
|
||||||
set -o pipefail
|
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
|
||||||
- elasticsearch_xpack_security
|
- elasticsearch_xpack_security
|
||||||
|
|
||||||
- name: Trusty | set MAX_LOCKED_MEMORY=unlimited in Elasticsearch in /etc/security/limits.conf
|
- name: Trusty | set MAX_LOCKED_MEMORY=unlimited in Elasticsearch in /etc/security/limits.conf
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user