enable https on elasticsearch nodes that support it

This commit is contained in:
Doug Burks
2020-10-13 16:04:55 -04:00
committed by GitHub
parent f6296c095f
commit 190869a1f2

View File

@@ -625,7 +625,8 @@
servers = ["http://{{ MANAGER }}:9200"] servers = ["http://{{ MANAGER }}:9200"]
{% elif grains['role'] in ['so-node', 'so-hotnode', 'so-warmnode', 'so-heavynode'] %} {% elif grains['role'] in ['so-node', 'so-hotnode', 'so-warmnode', 'so-heavynode'] %}
[[inputs.elasticsearch]] [[inputs.elasticsearch]]
servers = ["http://{{ NODEIP }}:9200"] servers = ["https://{{ NODEIP }}:9200"]
insecure_skip_verify = true
{% endif %} {% endif %}
# #