use hostnames please

This commit is contained in:
Mike Reeves
2023-02-23 11:11:29 -05:00
parent 96b1fb4782
commit 148b0b1c4c
4 changed files with 14 additions and 11 deletions
-1
View File
@@ -111,7 +111,6 @@ so-soc:
- /opt/so/conf/soc/salt:/opt/sensoroni/salt:rw
- /opt/so/saltstack:/opt/so/saltstack:rw
- extra_hosts:
- {{GLOBALS.influxdb_host}}:{{pillar.node_data[GLOBALS.influxdb_host].ip}}
{%- if salt['pillar.get']('nodestab', {}) %}
{%- for SN, SNDATA in salt['pillar.get']('nodestab', {}).items() %}
- {{ SN.split('_')|first }}:{{ SNDATA.ip }}