arillso.system.network role – Network management with multi-entry-point support

Note

This role is part of the arillso.system collection (version 1.0.5).

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 arillso.system.

To use it in a playbook, specify: arillso.system.network.

Entry point dns – DNS configuration entry point

Synopsis

  • Entry point for configuring DNS resolution

  • Supports systemd-resolved and traditional resolv.conf

Parameters

Parameter

Comments

network_dns_nameservers

list / elements=string / required

List of DNS nameservers

Entry point main – Network management with multi-entry-point support

Synopsis

  • Manages network configuration including DNS and netplan

  • Supports systemd-resolved and traditional resolv.conf

Parameters

Parameter

Comments

network_dns_nameservers

list / elements=string

List of DNS nameservers

Default: []

network_netplan_enabled

boolean

Enable netplan configuration

Choices:

  • false ← (default)

  • true

network_resolv_enabled

boolean

Enable DNS configuration

Choices:

  • false

  • true ← (default)

network_use_systemd_resolved

boolean

Use systemd-resolved instead of /etc/resolv.conf

Choices:

  • false

  • true ← (default)

Entry point netplan – Netplan configuration entry point

Synopsis

  • Entry point for configuring network interfaces via netplan

  • Ubuntu/Debian with netplan only

Parameters

Parameter

Comments

network_netplan_config

dictionary / required

Netplan configuration dictionary