network_interface
network_interface copied to clipboard
fails when having empty or no ports: item for network_bridge_interfaces
When I want to create a bridge interface, with no other port attached to it, this role fails with the follwoing error conditions:
- ports: [] #ie. empty list It creates the line for bridgeprots, but since it's an empty list, the ifup command fails/complains about that empty line
- no ports: lineitme The ansible role itself throws an error at the end stating "no ports: item found traversing items.
The work around is to add a dummy0 interface... not the right/nice way if I want to make multiple vmbr's
I can confirm this issue.