add bridge management
This commit is contained in:
parent
6a689a60f9
commit
f1e0b5f9bd
@ -43,6 +43,12 @@
|
||||
become: yes
|
||||
notify: bridge_enable
|
||||
|
||||
- name: enable bridge
|
||||
systemd:
|
||||
name: netctl@bridge.service
|
||||
enables: true
|
||||
become: yes
|
||||
|
||||
- name: disable dhcpcd
|
||||
systemd:
|
||||
name: dhcpcd # required. Name of the service.
|
||||
|
@ -2,6 +2,7 @@
|
||||
Interface=br0
|
||||
Connection=bridge
|
||||
BindsToInterfaces=({{ ansible_default_ipv4.interface }})
|
||||
MACAddress={{ ansible_default_ipv4.interface }}
|
||||
IP=dhcp
|
||||
## Ignore (R)STP and immediately activate the bridge
|
||||
#SkipForwardingDelay=yes
|
||||
|
Loading…
Reference in New Issue
Block a user