From e44d8860f42f35b8c2e150087d72dd32112c7447 Mon Sep 17 00:00:00 2001 From: Alexander Weidinger Date: Tue, 4 Jul 2017 22:30:49 +0200 Subject: [PATCH] Sort Match options --- openssh/files/sshd_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}