ok back off various changes to the templates

This commit is contained in:
Stephen Smoogen 2020-06-26 18:15:21 -04:00
parent 305bd6af2f
commit f7a2b66c56
17 changed files with 16 additions and 20 deletions

View file

@ -1,6 +1,6 @@
--- ---
eth0_ip: 10.3.169.31 eth0_ip: 10.3.169.31
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,6 +1,6 @@
--- ---
eth0_ip: 10.3.169.32 eth0_ip: 10.3.169.32
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,6 +1,6 @@
--- ---
eth0_ip: 10.3.169.33 eth0_ip: 10.3.169.33
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,6 +1,6 @@
--- ---
eth0_ip: 10.3.169.34 eth0_ip: 10.3.169.34
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,6 +1,6 @@
--- ---
eth0_ip: 10.3.169.35 eth0_ip: 10.3.169.35
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,5 +1,5 @@
--- ---
eth0_ip: 10.3.169.36 eth0_ip: 10.3.169.36
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,5 +1,5 @@
--- ---
eth0_ip: 10.3.169.37 eth0_ip: 10.3.169.37
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,5 +1,5 @@
--- ---
eth0_ip: 10.3.169.38 eth0_ip: 10.3.169.38
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,6 +1,6 @@
--- ---
eth0_ip: 10.3.169.39 eth0_ip: 10.3.169.39
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,6 +1,6 @@
--- ---
eth0_ip: 10.3.169.40 eth0_ip: 10.3.169.40
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,6 +1,6 @@
--- ---
eth0_ip: 10.3.169.41 eth0_ip: 10.3.169.41
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,6 +1,6 @@
--- ---
eth0_ip: 10.3.169.42 eth0_ip: 10.3.169.42
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,6 +1,6 @@
--- ---
eth0_ip: 10.3.169.43 eth0_ip: 10.3.169.43
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,5 +1,5 @@
--- ---
eth0_ip: 10.3.169.44 eth0_ip: 10.3.169.44
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,6 +1,6 @@
--- ---
eth0_ip: 10.3.169.45 eth0_ip: 10.3.169.45
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -1,5 +1,5 @@
--- ---
eth0_ip: 10.3.169.46 eth0_ip: 10.3.169.46
eth0_ipv4_gw: 10.3.169.254 gw: 10.3.169.254
datacenter: iad2 datacenter: iad2
eth1_off: true eth1_off: true

View file

@ -8,12 +8,8 @@ OPTIONS="layer2=1 portno=0"
{% endif %} {% endif %}
{% if item in ansible_ifcfg_infra_net_devices %} {% if item in ansible_ifcfg_infra_net_devices %}
DEFROUTE=yes DEFROUTE=yes
{% if hostvars[inventory_hostname][item +'ipv4_gw'] is defined %}
GATEWAY="{{ hostvars[inventory_hostname][item + 'ipv4_gw'] }}"
{% else %}
GATEWAY="{{ gw }}" GATEWAY="{{ gw }}"
{% endif %} {% endif %}
{% endif %}
{% if hostvars[inventory_hostname].datacenter == 'iad2' %} {% if hostvars[inventory_hostname].datacenter == 'iad2' %}
DOMAIN="iad2.fedoraproject.org vpn.fedoraproject.org fedoraproject.org" DOMAIN="iad2.fedoraproject.org vpn.fedoraproject.org fedoraproject.org"
{% else %} {% else %}