make sure to match options as the options dict!
This commit is contained in:
parent
1a2de43ed7
commit
b24101264f
@ -150,7 +150,7 @@
|
|||||||
{%- for match in sshd_config['matches'].values() %}
|
{%- for match in sshd_config['matches'].values() %}
|
||||||
Match {{ match['type'].keys()[0] }} {{ match['type'].values()[0] }}
|
Match {{ match['type'].keys()[0] }} {{ match['type'].values()[0] }}
|
||||||
{%- for keyword in match['options'].keys() %}
|
{%- for keyword in match['options'].keys() %}
|
||||||
{{ render_option(keyword, '', config_dict=match['type']) }}
|
{{ render_option(keyword, '', config_dict=match['options']) }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user