Fix for loop

This commit is contained in:
Mike Reeves
2020-08-11 10:20:02 -04:00
parent d941209479
commit b84d7d818f

View File

@@ -180,6 +180,7 @@ so-elasticsearch:
{%- if salt['pillar.get']('nodestab', {}) %}
{%- for SN, SNDATA in salt['pillar.get']('nodestab', {}).items() %}
- {{ SN }}:{{ SNDATA.ip }}
{%- endfor %}
{%- endif %}
{%- endif %}
- environment: