mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-28 00:48:22 +01:00
Fix minor bug for ssh known_hosts management with salt >= 2015.5.5.
This version complains that "argument port can not be used in conjunction with argument hash_hostname", so add hash_hostname to the fields we handle in the formula so we can override it if needed.
This commit is contained in:
parent
014805de29
commit
221f1ccef4
@ -301,6 +301,9 @@ users_ssh_known_hosts_{{ name }}_{{ loop.index0 }}:
|
|||||||
{% if 'enc' in host %}
|
{% if 'enc' in host %}
|
||||||
- enc: {{ host['enc'] }}
|
- enc: {{ host['enc'] }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
{% if 'hash_hostname' in host %}
|
||||||
|
- hash_hostname: {{ host['hash_hostname'] }}
|
||||||
|
{% endif -%}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user