Merge pull request #647 from jmlrt/fix-es_ssl_certificate_authority-639
fix when condition for es_ssl_certificate_authority
This commit is contained in:
commit
af9a5936a0
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@
|
||||||
mode: "640"
|
mode: "640"
|
||||||
#Restart if this changes
|
#Restart if this changes
|
||||||
notify: restart elasticsearch
|
notify: restart elasticsearch
|
||||||
when: es_ssl_certificate_authority | bool
|
when: (es_ssl_certificate_authority is defined) and (es_ssl_certificate_authority|length > 0)
|
||||||
|
|
||||||
- name: Set keystore password
|
- name: Set keystore password
|
||||||
shell: echo "{{ es_ssl_keystore_password }}" | {{ es_home }}/bin/elasticsearch-keystore add -x -f 'xpack.security.{{ item }}.ssl.keystore.secure_password'
|
shell: echo "{{ es_ssl_keystore_password }}" | {{ es_home }}/bin/elasticsearch-keystore add -x -f 'xpack.security.{{ item }}.ssl.keystore.secure_password'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue