From 3b911cc9cb015e984ef012e2eb02467c17333a31 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Fri, 17 Nov 2017 14:30:00 +0100 Subject: [PATCH] Add default setting for ssh known hosts fingerprint hash type --- users/init.sls | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/users/init.sls b/users/init.sls index 4fd8c90..e5cc820 100644 --- a/users/init.sls +++ b/users/init.sls @@ -378,6 +378,12 @@ users_ssh_known_hosts_{{ name }}_{{ loop.index0 }}: {% if 'hash_known_hosts' in host %} - hash_known_hosts: {{ host['hash_known_hosts'] }} {% endif -%} + {% if 'timeout' in host %} + - timeout: {{ host['timeout'] }} + {% endif -%} + {% if 'fingerprint_hash_type' in host %} + - fingerprint_hash_type: {{ host['fingerprint_hash_type'] }} + {% endif -%} {% endfor %} {% endif %}