basessh: Fix EL6 detection logic

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-04-08 19:11:40 +02:00
parent 27a21881d4
commit 9b09d4d5d0

View file

@ -2,7 +2,7 @@ Protocol 2
Port {{ sshd_port }}
{% if ansible_distribution_version == 6 %}
{% if ansible_distribution_major_version == "6" %}
KexAlgorithms diffie-hellman-group-exchange-sha256
MACs hmac-sha2-512,hmac-sha2-256
Ciphers aes256-ctr,aes192-ctr,aes128-ctr