rework idh for web ui

This commit is contained in:
m0duspwnens
2023-03-24 13:52:21 -04:00
parent fdaf8e8c68
commit 462b2b23b9
6 changed files with 139 additions and 138 deletions

View File

@@ -575,9 +575,10 @@ role:
hostgroups:
anywhere:
portgroups:
{% set idh_services = salt['pillar.get']('idh:services', []) %}
{% for service in idh_services %}
- {{ IDH_PORTGROUPS['idh_'~service] }}
{% for service in IDH_PORTGROUPS.keys() %}
{% if service != 'openssh' %}
- {{ IDH_PORTGROUPS[service] }}
{% endif %}
{% endfor %}
dockernet:
portgroups: