Add default setting for ssh known hosts fingerprint hash type

This commit is contained in:
Sean Molenaar 2017-11-17 14:30:00 +01:00 committed by Heinz Wiesinger
parent 4bc00d4d62
commit 3b911cc9cb
1 changed files with 6 additions and 0 deletions

View File

@ -378,6 +378,12 @@ users_ssh_known_hosts_{{ name }}_{{ loop.index0 }}:
{% if 'hash_known_hosts' in host %} {% if 'hash_known_hosts' in host %}
- hash_known_hosts: {{ host['hash_known_hosts'] }} - hash_known_hosts: {{ host['hash_known_hosts'] }}
{% endif -%} {% endif -%}
{% if 'timeout' in host %}
- timeout: {{ host['timeout'] }}
{% endif -%}
{% if 'fingerprint_hash_type' in host %}
- fingerprint_hash_type: {{ host['fingerprint_hash_type'] }}
{% endif -%}
{% endfor %} {% endfor %}
{% endif %} {% endif %}