network_interface icon indicating copy to clipboard operation
network_interface copied to clipboard

fails when having empty or no ports: item for network_bridge_interfaces

Open hvisage opened this issue 9 years ago • 1 comments

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

hvisage avatar Aug 27 '15 21:08 hvisage

I can confirm this issue.

aries1980 avatar Oct 08 '15 21:10 aries1980