kpfleming.systemd_networkd.bridge role – Manages systemd-networkd bridged network devices.
Note
This role is part of the kpfleming.systemd_networkd collection (version 25.7.1).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it use: ansible-galaxy collection install kpfleming.systemd_networkd
.
To use it in a playbook, specify: kpfleming.systemd_networkd.bridge
.
Entry point main
– Manages systemd-networkd bridged network devices.
New in kpfleming.systemd_networkd 25.7.0
Synopsis
This role will create (or update) a .netdev file in /etc/systemd/network for each specified bridged device.
Detailed descriptions of parameters and their behavior can be found in ‘man systemd.netdev’.
Sets fact named ‘systemd_networkd_bridge_changed’ to either true or false to indicate whether any changes were made.
Parameters
Parameter |
Comments |
---|---|
Attributes of the bridge devices to be managed. |
|
Attributes of the bridge device. |
|
Time that MAC addresses will be kept in the forwarding database. |
|
Time spent in ‘listening’ and ‘learning’ before moving to ‘forwarding’ state. |
|
Priority of bridge among its peers. |
|
Enable Spanning Tree Protocol. Choices:
|
|
Matching attributes of the bridge network device. |
|
System-specific attributes to be matched. |
|
Match system architecture. |
|
Match service credential. |
|
Match system firmware. |
|
Match hostname or machine ID. |
|
Match kernel command line option presence. |
|
Match kernel version expression. |
|
Match virtualization type. |
|
Name of the bridge device. |
|
Suppress the reloading of systemd-networkd if changes are made. Choices:
|
|
Root path of filesystem containing systemd-networkd configuration files. Default: |