mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2026-08-03 17:38:00 +02:00
Merge pull request #187 from M2Mobi/ssh_known_hosts
Improvements for ssh known hosts handling
This commit is contained in:
+8
-2
@@ -375,8 +375,14 @@ users_ssh_known_hosts_{{ name }}_{{ loop.index0 }}:
|
||||
{% if 'enc' in host %}
|
||||
- enc: {{ host['enc'] }}
|
||||
{% endif -%}
|
||||
{% if 'hash_hostname' in host %}
|
||||
- hash_hostname: {{ host['hash_hostname'] }}
|
||||
{% 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 %}
|
||||
|
||||
Reference in New Issue
Block a user