.woodpecker | ||
defaults | ||
handlers | ||
meta | ||
tasks | ||
templates/etc | ||
vars | ||
.gitignore | ||
.markdownlint.yml | ||
.prettierignore | ||
.yamllint | ||
LICENSE | ||
pyproject.toml | ||
README.md |
xoxys.network
Manage linux network configuration.
Table of content
Requirements
- Minimum Ansible version:
2.10
Default Variables
network_defaultif
Default value
network_defaultif: eth0
network_fqdn
Default value
network_fqdn: localdomain
network_hostname
Default value
network_hostname: localhost
network_hosts_extra
Default value
network_hosts_extra: []
Example usage
network_hosts_extra:
- hostname: myhost
fqdn: myhost.rknet.org
address: 1.2.3.4
network_interfaces
Default value
network_interfaces: {}
Example usage
network_interfaces:
eth0:
bootproto: none
onboot: "yes"
hwaddr: "aa:bb:cc:dd:ee"
ipaddr: 192.168.0.5
prefix: 26
gateway: "192.168.0.1"
userctl: "no"
network_ipv6_enabled
Default value
network_ipv6_enabled: true
network_nm_config
Default value
network_nm_config: {}
Example usage
network_nm_config:
unmanaged: |
[keyfile]
unmanaged-devices=interface-name:ens*
network_reboot_enabled
Default value
network_reboot_enabled: true
network_resolve_enabled
Default value
network_resolve_enabled: false
network_resolve_server
Default value
network_resolve_server:
- 8.8.8.8
network_restart_enabled
Default value
network_restart_enabled: true
network_routes
Default value
network_routes: {}
Example usage
network_routes:
eth0: |
10.168.0.1/32 via 0.0.0.0 dev eth0 scope link
10.168.0.0/27 via 10.168.0.1 dev eth0
Dependencies
None.
License
MIT