From 9b09d4d5d05172d6c47026871e97790f28a91243 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Mon, 8 Apr 2019 19:11:40 +0200 Subject: [PATCH] basessh: Fix EL6 detection logic Signed-off-by: Patrick Uiterwijk --- roles/basessh/templates/sshd_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/basessh/templates/sshd_config b/roles/basessh/templates/sshd_config index 517fe4d2b2..60bb84ac91 100644 --- a/roles/basessh/templates/sshd_config +++ b/roles/basessh/templates/sshd_config @@ -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