michaelrigart / ansible-role-interfaces

An ansible role for configuring different network interfaces
GNU General Public License v3.0
83 stars 62 forks source link

Restart bridge interface after all ports restart #91

Closed markgoddard closed 3 years ago

markgoddard commented 3 years ago

On CentOS/RHEL 8 systems, if all ports in a bridge go down, the bridge interface will also go down. If the ports are brought back up again, the bridge interface does not automatically come back up. Therefore, if there is some change to the configuration of all bridge ports, the bridge may be left in an inactive state.

This change fixes the issue by adding bridge interfaces to the list of changed interfaces, if all of their ports have changed.

Fixes: #90

markgoddard commented 3 years ago

@michaelrigart WDYT?