kpfleming.systemd_networkd.global role – Manages systemd-networkd global configuration.
Note
This role is part of the kpfleming.systemd_networkd collection (version 25.2.0).
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.global
.
Entry point main
– Manages systemd-networkd global configuration.
Synopsis
This role will create (or update) a dropin file named ansible.conf in /etc/systemd/networkd.conf.d
Sets fact named ‘systemd_networkd_global_changed’ to either true or false to indicate whether any changes were made.
Parameters
Parameter |
Comments |
---|---|
Settings to be applied globally. |
|
Settings for the Network section. |
|
Enable IPv4 forwarding. Choices:
|
|
Enable IPv6 forwarding. Choices:
|
|
Suppress the reloading of systemd-networkd if changes are made. Choices:
|
|
Root path of filesystem containing systemd-networkd configuration files. Default: |