Change variable for hmac from server to client

in the openssh client configuration a server variable was used.
This commit is contained in:
Sebastian Gumprich committed 2015-08-31 21:10:00 +02:00
1 parent b069a12800
commit d3e01b75d6
1 file changed
+1 -1
@@ -64,7 +64,7 @@ StrictHostKeyChecking ask
# Weak HMAC is sometimes required if older package versions are used
# eg Ruby's Net::SSH at around 2.2.* doesn't support sha2 for hmac, so this will have to be set true in this case.
#
{% if ssh_server_weak_hmac -%}
{% if ssh_client_weak_hmac -%}
{% if ansible_distribution == 'Ubuntu' and ansible_distribution_version >= '14.04' -%}
MACs {{macs_66_weak}}
{% elif ansible_os_family in ['Oracle Linux', 'RedHat'] and ansible_distribution_major_version <= '6' -%}