inventory/bridgeify: try and see about getting bridgeify working more generally.
This playbook uses linux-system-roles to set the bridge on virthosts. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
47497d0cfd
commit
f4d3d05a13
2 changed files with 3 additions and 23 deletions
|
@ -18,3 +18,5 @@ mac1: ec:f4:bb:d2:85:ec
|
||||||
mac2: ec:f4:bb:d2:85:ed
|
mac2: ec:f4:bb:d2:85:ed
|
||||||
mac3: ec:f4:bb:d2:85:e8
|
mac3: ec:f4:bb:d2:85:e8
|
||||||
mac4: ec:f4:bb:d2:85:ea
|
mac4: ec:f4:bb:d2:85:ea
|
||||||
|
|
||||||
|
br0_port0_mac: "{{ mac3 }}"
|
||||||
|
|
|
@ -28,29 +28,7 @@
|
||||||
state: up
|
state: up
|
||||||
type: ethernet
|
type: ethernet
|
||||||
master: br0
|
master: br0
|
||||||
mac: "{{ mac1 }}"
|
mac: "{{ br0_port0_mac }}"
|
||||||
|
|
||||||
- name: br1
|
|
||||||
state: up
|
|
||||||
type: bridge
|
|
||||||
autoconnect: yes
|
|
||||||
ip:
|
|
||||||
dhcp4: no
|
|
||||||
auto6: no
|
|
||||||
|
|
||||||
- name: br1-port0
|
|
||||||
state: up
|
|
||||||
type: ethernet
|
|
||||||
master: br1
|
|
||||||
mac: "{{ mac2 }}"
|
|
||||||
|
|
||||||
- name: eno3
|
|
||||||
type: ethernet
|
|
||||||
mac: "{{ mac3 }}"
|
|
||||||
|
|
||||||
- name: eno4
|
|
||||||
type: ethernet
|
|
||||||
mac: "{{ mac4 }}"
|
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: linux-system-roles.network
|
- role: linux-system-roles.network
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue