15 lines
411 B
Django/Jinja
15 lines
411 B
Django/Jinja
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
|
|
|
{%- from "ssh/map.jinja" import ssh with context %}
|
|
{%- from "ssh/map.jinja" import net with context %}
|
|
|
|
{%- for key, value in ssh.sshd_config.items() %}
|
|
{{ key }} {{ value }}
|
|
{%- endfor %}
|
|
|
|
Match Address {{ net.ip_networks|join(',') }}
|
|
PasswordAuthentication yes
|
|
|
|
Match Address {{ net.ip_networks|join(',') }}
|
|
PasswordAuthentication yes
|