paulbsd-salt/states/ssh/templates/ssh_config.j2
2024-02-07 22:00:05 +01:00

11 lines
304 B
Django/Jinja

## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "ssh/map.jinja" import ssh with context %}
{%- for match, values in ssh.ssh_config.items() %}
Host {{ match }}
{%- for param_key, param_value in values.items() %}
{{ param_key }} {{ param_value }}
{%- endfor %}
{% endfor %}