Version: 0.0.0
Role to manage configuration of 'dummy' devices in systemd-networkd.
Tags: systemd, network
Platform | Versions |
---|---|
GenericLinux |
Manages systemd-networkd dummy virtual network devices.
Option | Description | Type | Required | Default |
---|---|---|---|---|
suppress_reload | Suppress the reloading of systemd-networkd if changes are made. | bool | no | false |
systemd_root | Root path of filesystem containing systemd-networkd configuration files. | str | no | |
dummies | Attributes of the dummy devices to be managed. | list of dicts of 'dummies' options | yes |
Option | Description | Type | Required | Default |
---|---|---|---|---|
name | Name of the network device. | str | yes | |
match | Matching attributes of the network device. | dict of 'match' options | no |
Option | Description | Type | Required | Default |
---|---|---|---|---|
system | System-specific attributes to be matched. | dict of 'system' options | no |
Option | Description | Type | Required | Default |
---|---|---|---|---|
architecture | Match system architecture. | str | no | |
credential | Match service credential. | str | no | |
firmware | Match system firmware. | str | no | |
host | Match hostname or machine ID. | str | no | |
kernel_command_line | Match kernel command line option presence. | str | no | |
kernel_version | Match kernel version expression. | str | no | |
virtualization | Match virtualization type. | str | no |
None.
- hosts: all
tasks:
- name: Importing role: kpfleming.systemd_networkd.dummy
ansible.builtin.import_role:
name: kpfleming.systemd_networkd.dummy
vars:
dummies: # required, type: list
Apache-2.0
Kevin P, Fleming [email protected] @kpfleming:irc/libera.chat
Issues: tracker