Skip to content

Latest commit

 

History

History
79 lines (65 loc) · 2.23 KB

File metadata and controls

79 lines (65 loc) · 2.23 KB

Ansible Role: kpfleming.systemd_networkd.dummy


Version: 0.0.0

Role to manage configuration of 'dummy' devices in systemd-networkd.

Tags: systemd, network

Requirements


Platform Versions
GenericLinux

Role Arguments


Entrypoint: main


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

Options for main > dummies


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

Options for main > dummies > match


Option Description Type Required Default
system System-specific attributes to be matched. dict of 'system' options no

Options for main > dummies > match > system


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

Dependencies


None.

Example Playbook


- hosts: all
  tasks:
    - name: Importing role: kpfleming.systemd_networkd.dummy
      ansible.builtin.import_role:
        name: kpfleming.systemd_networkd.dummy
      vars:
        dummies: # required, type: list

License


Apache-2.0

Author and Project Information


Kevin P, Fleming [email protected] @kpfleming:irc/libera.chat

Issues: tracker