updated ssh state
This commit is contained in:
parent
4cdab1e1cd
commit
f6a792c399
@ -1,13 +1,14 @@
|
||||
## {{ 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 {{ salt['pillar.get']('net:ip_networks')|join(',') }}
|
||||
Match Address {{ net.ip_networks|join(',') }}
|
||||
PasswordAuthentication yes
|
||||
|
||||
Match Address {{ salt['pillar.get']('net:ip_networks')|join(',') }}
|
||||
Match Address {{ net.ip_networks|join(',') }}
|
||||
PasswordAuthentication yes
|
||||
|
Loading…
Reference in New Issue
Block a user