Files
salt-states/users/files/ssh_hosts.jinja
Keiran Snowden 52f0f1070e up2date
2023-01-28 17:21:52 -05:00

7 lines
170 B
Django/Jinja

{% for host, config in salt.pillar.get('ssh_hosts')[user].items() -%}
Host {{ host }}
{%- for key, val in config %}
{{ key }} {{ val }}
{%- endfor %}
{%- endfor %}