Add nodes to soc.json

This commit is contained in:
Mike Reeves
2020-10-11 11:28:49 -04:00
parent 73aade1223
commit 31e0b5c81c

View File

@@ -24,6 +24,13 @@
},
"elastic": {
"hostUrl": "http://{{ MANAGERIP }}:9200",
{%- if salt['pillar.get']('nodestab', {}) %}
"remoteHostUrls": [
{%- for SN, SNDATA in salt['pillar.get']('nodestab', {}).items() %}
{{ SN.split('_')|first }}{{ "," if not loop.last }}
{%- endfor %}
],
{%- endif %}
"username": "",
"password": "",
"verifyCert": false