Security Enable for only nodes and heavy

This commit is contained in:
Mike Reeves
2021-03-04 10:52:01 -05:00
parent a0a8d12526
commit c2b347e4bb

View File

@@ -25,7 +25,11 @@ cluster.routing.allocation.disk.watermark.low: 95%
cluster.routing.allocation.disk.watermark.high: 98%
cluster.routing.allocation.disk.watermark.flood_stage: 98%
xpack.ml.enabled: false
{%- if grains['role'] in ['so-node','so-heavynode'] %}
xpack.security.enabled: true
{%- else %}
xpack.security.enabled: false
{%- endif %}
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: none
xpack.security.transport.ssl.key: /usr/share/elasticsearch/config/elasticsearch.key