paulbsd-salt/states/ssh/templates/ssh_config.j2

11 lines
304 B
Plaintext
Raw Normal View History

2020-10-10 14:14:08 +02:00
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "ssh/map.jinja" import ssh with context %}
2024-02-07 22:00:05 +01:00
{%- for match, values in ssh.ssh_config.items() %}
Host {{ match }}
{%- for param_key, param_value in values.items() %}
{{ param_key }} {{ param_value }}
2023-03-10 00:08:08 +01:00
{%- endfor %}
2024-02-07 22:00:05 +01:00
{% endfor %}