@@ -12,7 +12,7 @@ linux_host_{{ name }}: | |||
{%- if host.address in grains.ipv4 %} | |||
{%- if host.names.1 in host.names.0 %} | |||
{%- if host.names|length > 1 and host.names.1 in host.names.0 %} | |||
{%- set before = host.names.1 + " " + host.names.0 %} | |||
{%- set after = host.names.0 + " " + host.names.1 %} | |||
{%- elif host.names.0 in host.names.1 %} |