Skip to content

fails when having empty or no ports: item for network_bridge_interfaces #22

@hvisage

Description

@hvisage

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions