1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sshd.git synced 2024-08-16 11:59:49 +02:00

template improvement?

This commit is contained in:
L3D 2020-12-17 00:39:20 +01:00
parent 4d499b97d6
commit 8d5e1f32ba
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -17,6 +17,11 @@ AddressFamily any
TCPKeepAlive yes TCPKeepAlive yes
# Key exchange # Key exchange
{{ 'HostkeyAlgorithms ' }}
{%- for algo in sshd__key_algorithmus -%}
{{ algo }}{{ "," if not loop.last }}
{%- endfor %}
{{ 'KexAlgorithms ' }} {{ 'KexAlgorithms ' }}
{%- for algo in sshd__kex_algorithmus -%} {%- for algo in sshd__kex_algorithmus -%}
{{ algo }}{{ "," if not loop.last }} {{ algo }}{{ "," if not loop.last }}