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:
parent
4d499b97d6
commit
8d5e1f32ba
1 changed files with 5 additions and 0 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue