kowabunga.cloud.netplan role – Install and configures host network through Netplan.
Note
This role is part of the kowabunga.cloud collection (version 0.1.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 kowabunga.cloud
.
To use it in a playbook, specify: kowabunga.cloud.netplan
.
Entry point main
– Install and configures host network through Netplan.
Synopsis
Install and configures host network through Netplan.
Parameters
Parameter |
Comments |
---|---|
Defines whether Netplan’s generated configuration should be applied. Disabled if unspecified. Choices:
|
|
Network configuration settings for Netplan. No change unless specified. Default: |
|
Defines IEEE 802.3ad LACP (Link Aggregation Control Protocol) (i.e. interface bonding/teaming) network interface configuration settings, if any. Default: |
|
Defines whether interface should be configured manually (default) or through DCHP. Choices:
|
|
List of DNS servers to be used. Default: |
|
List of network interface names to be bonded together. |
|
List of IP addresses to be associated to the configured interface. Formated as CIDR (e.g. 10.0.0.1/24). None if empty (i.e. unconfigured). Default: |
|
Set the rate at which LACPDUs are transmitted. This is only useful in 802.3ad mode. Choices:
|
|
Bonding interface physical MAC address. Example: aa:bb:cc:dd:ee:ff |
|
Defines interface’s gateway route metric priority. Routes with lower values are preferred. Default: |
|
Specifies the interval for MII monitoring (verifying if an interface of the bond has carrier). A value of 0 disables MII monitoring. The value is interpreted as milliseconds. Default: |
|
Bonding mode for the interface. Choices:
|
|
Set Maximum Transmission Unit (MTU) for the interface. Useful to enable Jumbo frames (MTU 9000) for example. Default: |
|
Linux bonding interface name. Example: bond0 |
|
Specifies the transmit hash policy for the selection of ports. This is only useful in ‘balance-xor’, ‘802.3ad’ and ‘balance-tlb’ modes. Choices:
|
|
List of routes to be configured through the specified network interface. Default: |
|
Defines interface’s gateway route metric priority. Routes with lower values are preferred. Default: |
|
Destination network to be reached. Formated as CIDR (e.g. 10.0.0.0/8) Accepts “default” for native route. |
|
Network gateway IP address. |
|
List of search domains to be used. Default: |
|
Defines IEEE 802.1d network interface bridging settings, if any. Default: |
|
Specify the period of time the bridge will remain in Listening and Learning states before getting to the Forwarding state. The value is interpreted as seconds. Default: |
|
Defines whether interface should be configured manually (default) or through DCHP. Choices:
|
|
List of DNS servers to be used. Default: |
|
List of network interface names o be part of the bridged interface.. |
|
List of IP addresses to be associated to the configured interface. Formated as CIDR (e.g. 10.0.0.1/24). None if empty (i.e. unconfigured). Default: |
|
Defines interface’s gateway route metric priority. Routes with lower values are preferred. Default: |
|
Set Maximum Transmission Unit (MTU) for the interface. Useful to enable Jumbo frames (MTU 9000) for example. Default: |
|
Linux bridged interface name. Example: br0 |
|
List of routes to be configured through the specified network interface. Default: |
|
Defines interface’s gateway route metric priority. Routes with lower values are preferred. Default: |
|
Destination network to be reached. Formated as CIDR (e.g. 10.0.0.0/8) Accepts “default” for native route. |
|
Network gateway IP address. |
|
List of search domains to be used. Default: |
|
Define whether the bridge should use Spanning Tree Protocol. Enabled if unspecified. Choices:
|
|
Defines low-level ethernet network interfaces configuration settings. Default: |
|
Defines whether interface should be configured manually (default) or through DCHP. Choices:
|
|
List of DNS servers to be used. Default: |
|
List of IP addresses to be associated to the configured interface. Formated as CIDR (e.g. 10.0.0.1/24). None if empty (i.e. unconfigured). Default: |
|
Interface physical MAC address. Example: aa:bb:cc:dd:ee:ff |
|
Defines interface’s gateway route metric priority. Routes with lower values are preferred. Default: |
|
Set Maximum Transmission Unit (MTU) for the interface. Useful to enable Jumbo frames (MTU 9000) for example. Default: |
|
Linux interface name. Example: eth0, eno1 … |
|
List of routes to be configured through the specified network interface. Default: |
|
Defines interface’s gateway route metric priority. Routes with lower values are preferred. Default: |
|
Destination network to be reached. Formated as CIDR (e.g. 10.0.0.0/8) Accepts “default” for native route. |
|
Network gateway IP address. |
|
List of search domains to be used. Default: |
|
Defines IEEE 802.1q (i.e. VLAN) network interface configuration settings, if any. Default: |
|
Defines whether interface should be configured manually (default) or through DCHP. Choices:
|
|
List of DNS servers to be used. Default: |
|
Associated VLAN ID. Ranges from 0 to 4094. |
|
List of IP addresses to be associated to the configured interface. Formated as CIDR (e.g. 10.0.0.1/24). None if empty (i.e. unconfigured). Default: |
|
Name fo the underlying network interface to add VLAN on top of. Example: eth0 |
|
Defines interface’s gateway route metric priority. Routes with lower values are preferred. Default: |
|
Set Maximum Transmission Unit (MTU) for the interface. Useful to enable Jumbo frames (MTU 9000) for example. Default: |
|
Linux VLAN interface name. Example: vlan100 |
|
List of routes to be configured through the specified network interface. Default: |
|
Defines interface’s gateway route metric priority. Routes with lower values are preferred. Default: |
|
Destination network to be reached. Formated as CIDR (e.g. 10.0.0.0/8) Accepts “default” for native route. |
|
Network gateway IP address. |
|
List of search domains to be used. Default: |
|
Defines whether Netplan’s cloud-init generated configuration should remain. Kept if unspecified. Choices:
|