1
0
Fork 0
forked from infra/ansible

ibiblio: switch to the new default vlan

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2025-10-13 13:56:02 -07:00
commit 4a47cfaff2
10 changed files with 20 additions and 82 deletions

View file

@ -14,7 +14,7 @@ has_ipv6: yes
ks_repo: https://infrastructure.fedoraproject.org/repo/rhel/RHEL9-x86_64/
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel
lvm_size: 150000
main_bridge: br1
main_bridge: br0
max_mem_size: 49152
mem_size: 32768
network_connections:

View file

@ -1,16 +1,10 @@
---
br0_ipv4_ip: 152.19.134.169
br0_ipv4_gw: 152.19.134.129
br0_ipv4_nm: 25
br0_ipv6_ip: 2610:28:3090:3001:dead:beef:cafe:fe02
br0_ipv6_gw: 2600:2701:4000:5211::1
br0_ipv6_nm: 104
br1_ipv4_ip: 152.2.23.102
br1_ipv4_gw: 152.2.23.97
br1_ipv4_nm: 27
br1_ipv6_ip: 2606:f640:6000:651::6
br1_ipv6_gw: 2606:f640:6000:651::1
br1_ipv6_nm: 64
br0_ipv4_ip: 152.2.23.102
br0_ipv4_gw: 152.2.23.97
br0_ipv4_nm: 27
br0_ipv6_ip: 2606:f640:6000:651::6
br0_ipv6_gw: 2606:f640:6000:651::1
br0_ipv6_nm: 64
datacenter: ibiblio
dns1: 152.2.21.1
dns2: 8.8.8.8
@ -42,23 +36,6 @@ network_connections:
- "{{ dns_search2 }}"
gateway4: "{{ br0_ipv4_gw }}"
gateway6: "{{ br0_ipv6_gw }}"
# Bridge profile
- name: br1
state: up
type: bridge
mtu: 1500
autoconnect: yes
ip:
address:
- "{{ br1_ipv4_ip }}/{{ br1_ipv4_nm }}"
- "{{ br1_ipv6_ip }}/{{ br1_ipv6_nm }}"
dhcp4: no
dns:
- "{{ dns1 }}"
- "{{ dns2 }}"
dns_search:
- "{{ dns_search1 }}"
- "{{ dns_search2 }}"
# Bond profile
- name: bond0
type: bond
@ -67,14 +44,6 @@ network_connections:
controller: br0
bond:
mode: 802.3ad
# builder vlan
- name: 651_vlan
type: vlan
vlan:
id: 651
parent: bond0
controller: br1
state: up
# Port profile for the 1st Ethernet device
- name: bond0-port1
mac: "{{ mac2 }}"

View file

@ -1,17 +1,11 @@
---
br0_ipv4_ip: 152.19.134.137
br0_ipv4_gw: 152.19.134.129
br0_ipv4_nm: 25
br0_ipv6_ip: 2600:2701:4000:5211:dead:beef:00fe:fe05
br0_ipv6_gw: 2600:2701:4000:5211::1
br0_ipv6_nm: 104
br0_ipv4_ip: 152.2.23.100
br0_ipv4_gw: 152.2.23.97
br0_ipv4_nm: 27
br0_ipv6_ip: 2606:f640:6000:651::4
br0_ipv6_gw: 2606:f640:6000:651::1
br0_ipv6_nm: 64
br0_port0_mac: '{{ mac0 }}'
br1_ipv4_ip: 152.2.23.100
br1_ipv4_gw: 152.2.23.97
br1_ipv4_nm: 27
br1_ipv6_ip: 2606:f640:6000:651::4
br1_ipv6_gw: 2606:f640:6000:651::1
br1_ipv6_nm: 64
datacenter: ibiblio
dns1: 152.2.21.1
dns2: 8.8.4.4
@ -43,23 +37,6 @@ network_connections:
- "{{ dns_search2 }}"
gateway4: "{{ br0_ipv4_gw }}"
gateway6: "{{ br0_ipv6_gw }}"
# Bridge profile
- name: br1
state: up
type: bridge
mtu: 1500
autoconnect: yes
ip:
address:
- "{{ br1_ipv4_ip }}/{{ br1_ipv4_nm }}"
- "{{ br1_ipv6_ip }}/{{ br1_ipv6_nm }}"
dhcp4: no
dns:
- "{{ dns1 }}"
- "{{ dns2 }}"
dns_search:
- "{{ dns_search1 }}"
- "{{ dns_search2 }}"
# Bond profile
- name: bond0
type: bond
@ -68,14 +45,6 @@ network_connections:
controller: br0
bond:
mode: 802.3ad
# builder vlan
- name: 651_vlan
type: vlan
vlan:
id: 651
parent: bond0
controller: br1
state: up
# Port profile for the 1st Ethernet device
- name: bond0-port1
mac: "{{ mac2 }}"

View file

@ -26,7 +26,7 @@ ks_repo: https://infrastructure.fedoraproject.org/repo/rhel/RHEL9-x86_64/
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel
nagios_location: 'external'
nagios_srcdir: 'nagios'
main_bridge: br1
main_bridge: br0
network_connections:
- autoconnect: yes
ip:

View file

@ -26,7 +26,7 @@ eth0_ipv6_nm: 64
has_ipv6: yes
ks_repo: https://infrastructure.fedoraproject.org/repo/rhel/RHEL9-x86_64/
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel
main_bridge: br1
main_bridge: br0
network_connections:
- autoconnect: yes
ip:

View file

@ -17,7 +17,7 @@ has_ipv6: yes
ks_repo: https://infrastructure.fedoraproject.org/repo/rhel/RHEL9-x86_64/
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel-people
lvm_size: 2t
main_bridge: br1
main_bridge: br0
mem_size: 8192
network_connections:
- autoconnect: yes

View file

@ -15,7 +15,7 @@ has_ipv4: yes
has_ipv6: yes
ks_repo: https://infrastructure.fedoraproject.org/pub/fedora/linux/releases/42/Server/x86_64/os/
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-fedora
main_bridge: br1
main_bridge: br0
max_mem_size: 20000
mem_size: 16384
network_connections:

View file

@ -16,7 +16,7 @@ has_ipv6: yes
ks_repo: https://infrastructure.fedoraproject.org/pub/fedora/linux/releases/42/Server/x86_64/os/
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-fedora
mac0: "52:54:00:84:5d:9f"
main_bridge: br1
main_bridge: br0
max_mem_size: 20000
mem_size: 16384
network_connections:

View file

@ -13,7 +13,7 @@ eth0_ipv6_nm: 64
has_ipv6: yes
ks_repo: https://infrastructure.fedoraproject.org/repo/rhel/RHEL9-x86_64/
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel
main_bridge: br1
main_bridge: br0
network_connections:
- autoconnect: yes
ip:

View file

@ -23,7 +23,7 @@ eth0_ipv6_nm: 64
has_ipv6: yes
ks_repo: https://infrastructure.fedoraproject.org/repo/rhel/RHEL9-x86_64/
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel
main_bridge: br1
main_bridge: br0
network_connections:
- autoconnect: yes
ip: