diff --git a/states/ssh/sshd_config.j2 b/states/ssh/sshd_config.j2 index 1a96b08..cf6ab35 100644 --- a/states/ssh/sshd_config.j2 +++ b/states/ssh/sshd_config.j2 @@ -2,7 +2,7 @@ {%- from "ssh/map.jinja" import ssh with context %} -{% set net4=[] -%} +{%- set net4=[] %} {%- for key, value in salt['pillar.get']('net:ipv4_networks').items() -%} {%- do net4.append( value.ip + "/" + value.mask ) -%} {%- endfor -%} @@ -12,7 +12,6 @@ {%- do net6.append( value.ip + "/" + value.mask ) -%} {%- endfor -%} -## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }} {%- for key, value in ssh.config.items() %} {{ key }} {{ value }} {%- endfor %}