Walk nodes tab

This commit is contained in:
Mike Reeves
2020-08-11 10:17:28 -04:00
parent 32f8ea3158
commit d941209479

View File

@@ -176,6 +176,12 @@ so-elasticsearch:
- user: elasticsearch
- extra_hosts:
- {{ grains.host }}:{{ NODEIP }}
{%- if ismanager %}
{%- if salt['pillar.get']('nodestab', {}) %}
{%- for SN, SNDATA in salt['pillar.get']('nodestab', {}).items() %}
- {{ SN }}:{{ SNDATA.ip }}
{%- endif %}
{%- endif %}
- environment:
- discovery.type=single-node
#- bootstrap.memory_lock=true