Revert "hosts: then and if swapped?"

This reverts commit b8f411c96b.
This commit is contained in:
Kevin Fenzi 2021-04-01 16:47:21 -07:00
parent dffebd91fe
commit b4df850535

View file

@ -20,8 +20,8 @@
copy: src={{ item }} dest=/etc/hosts
with_first_found: >-
{{
if (vpn | default(false)) and (datacenter | default('iad2')) != 'iad2'
(hosts_candidates_static + ["vpn"])
if (vpn | default(false)) and (datacenter | default('iad2')) != 'iad2'
else
(hosts_candidates_static + ["base"])
}}