Merge branch 'mikemol-match-prioritization-2'
This commit is contained in:
commit
52b0eb2816
@ -223,8 +223,8 @@
|
|||||||
|
|
||||||
{# Handle matches last as they need to go at the bottom #}
|
{# Handle matches last as they need to go at the bottom #}
|
||||||
{%- if 'matches' in sshd_config %}
|
{%- if 'matches' in sshd_config %}
|
||||||
{%- for match in sshd_config['matches'].values() %}
|
{%- for name, match in sshd_config['matches']|dictsort(true) %}
|
||||||
Match {{ match['type'].keys()[0] }} {{ match['type'].values()[0] }}
|
Match {{ match['type'].keys()[0] }} {{ match['type'].values()[0] }} # {{ name }}
|
||||||
{%- for keyword in match['options'].keys() %}
|
{%- for keyword in match['options'].keys() %}
|
||||||
{{ render_option(keyword, '', config_dict=match['options']) }}
|
{{ render_option(keyword, '', config_dict=match['options']) }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user