base ifcfg template: fix logic, we need a elif not if there
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
d0fd4a2e16
commit
1d5d09a6fc
1 changed files with 2 additions and 2 deletions
|
@ -8,9 +8,9 @@ OPTIONS="layer2=1 portno=0"
|
|||
{% endif %}
|
||||
{% if item in ansible_ifcfg_infra_net_devices %}
|
||||
GATEWAY="{{gw}}"
|
||||
{% if hostvars[inventory_hostname].datacenter == 'phx2' %}
|
||||
{% if hostvars[inventory_hostname].datacenter == 'phx2' %}
|
||||
DOMAIN="phx2.fedoraproject.org vpn.fedoraproject.org fedoraproject.org"
|
||||
{% if hostvars[inventory_hostname].datacenter == 'iad2' %}
|
||||
{% elif hostvars[inventory_hostname].datacenter == 'iad2' %}
|
||||
DOMAIN="iad2.fedoraproject.org vpn.fedoraproject.org fedoraproject.org"
|
||||
{% else %}
|
||||
DOMAIN="vpn.fedoraproject.org fedoraproject.org"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue