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.tags/v0.45.0
{% 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 %} | ||||