diff --git a/openssh/files/sshd_config b/openssh/files/sshd_config index 2fbe41c..9a1615c 100644 --- a/openssh/files/sshd_config +++ b/openssh/files/sshd_config @@ -242,7 +242,7 @@ Match {{- ' ' }}{{criteria }} {{ join_to_string(match['type'], criteria) -}} {%- endfor %} #{{ name }} {#- Set up the applied options -#} - {%- for keyword in match['options'].keys() %} + {%- for keyword in match['options'].keys()|sort() %} {{ render_option(keyword, '', config_dict=match['options']) }} {%- endfor %} {%- endfor %}