michaelrigart / ansible-role-interfaces

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

Set bridge_ports to none for a bridge without ports #63

Closed markgoddard closed 4 years ago

markgoddard commented 4 years ago

On Debian/Ubuntu systems, if we want a bridge without any ports, we need the following line in the interface file:

bridge_ports none

This change adds the above when a bridge has a 'ports' attribute that is None or set to an empty list.

michaelrigart commented 4 years ago

@markgoddard seems like the step to create a conf file for port on the bridge devices failed on the CI ?

markgoddard commented 4 years ago

@markgoddard seems like the step to create a conf file for port on the bridge devices failed on the CI ?

Thanks, fixed here: https://github.com/michaelrigart/ansible-role-interfaces/pull/64

michaelrigart commented 4 years ago

@markgoddard: merged #64 , once the update will be merged in this branch and the CI passes the this PR can be merged as well