Explorar o código

Make possible to add additionnal params in ssh configuration

Emmanuel Bouthenot %!s(int64=9) %!d(string=hai) anos
pai
achega
18a16f179f
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      roles/common/templates/ssh/sshd_config.j2

+ 5 - 0
roles/common/templates/ssh/sshd_config.j2

@@ -116,3 +116,8 @@ AllowUsers {{ ssh_allowed_users | join(' ') }}
 # Define users groups allowed to login
 AllowGroups {{ ssh_allowed_groups | join(' ') }}
 {% endif %}
+
+{% if ssh_local_config is defined %}
+# Additional parameters
+{{ ssh_local_config|join('\n') }}
+{% endif %}