Go to file
Robert Kaussow 0b818d0413
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
fix doctor env vars
2024-06-22 21:20:27 +02:00
.woodpecker fix doctor env vars 2024-06-22 21:20:27 +02:00
defaults feat: add option to manage networkmanager config files 2022-11-11 21:51:36 +01:00
handlers ci: migrate to woodpecker 2024-02-18 13:02:37 +01:00
meta cleanup [skip ci] 2024-02-19 10:55:29 +01:00
tasks ci: migrate to woodpecker 2024-02-18 13:02:37 +01:00
templates/etc chore: remove quote from ifcfg 2024-06-21 22:55:49 +02:00
vars feat: add option to manage networkmanager config files 2022-11-11 21:51:36 +01:00
.gitignore ci: migrate to woodpecker 2024-02-18 13:02:37 +01:00
.later.yml ci: migrate to woodpecker 2024-02-18 13:02:37 +01:00
.markdownlint.yml ci: migrate to woodpecker 2024-02-18 13:02:37 +01:00
.prettierignore ci: migrate to woodpecker 2024-02-18 13:02:37 +01:00
LICENSE chore: end of the year maintenance [skip ci] 2021-12-21 10:45:29 +01:00
pyproject.toml ci: migrate to woodpecker 2024-02-18 13:02:37 +01:00
README.md [skip ci] automated docs update 2024-02-18 12:03:00 +00:00

xoxys.network

Build Status License: MIT

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

Author

Robert Kaussow