hosts: then and if swapped?
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
05f399851e
commit
b8f411c96b
1 changed files with 1 additions and 1 deletions
|
@ -20,8 +20,8 @@
|
|||
copy: src={{ item }} dest=/etc/hosts
|
||||
with_first_found: >-
|
||||
{{
|
||||
(hosts_candidates_static + ["vpn"])
|
||||
if (vpn | default(false)) and (datacenter | default('iad2')) != 'iad2'
|
||||
(hosts_candidates_static + ["vpn"])
|
||||
else
|
||||
(hosts_candidates_static + ["base"])
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue