kea_dhcp(role): update to newest fux noc version

This commit is contained in:
bitwhisker 2026-07-31 17:48:58 +02:00
commit 8d9cb0007c
Signed by: bitwhisker
SSH key fingerprint: SHA256:KybIk/tusSKao6eLGY+ILlFa1rCrzwx66/acBAcKUqE
14 changed files with 322 additions and 231 deletions

View file

@ -3,9 +3,11 @@ argument_specs:
main:
short_description: "Role for managing Kea DHCP server"
options:
kea_dhcp__stork_agent:
kea_dhcp__stork_agent_defaults:
type: "dict"
description: "Configuration for Stork Agent"
description:
- "Default configuration for Stork Agent."
- "Merged with kea_dhcp__stork_agent using combine(recursive=True)."
options:
enable:
type: "bool"
@ -13,10 +15,39 @@ argument_specs:
prometheus_only:
type: "bool"
default: true
kea_dhcp__stork_agent:
type: "dict"
description:
- "Host/group override for Stork Agent configuration."
- "Merged on top of kea_dhcp__stork_agent_defaults using combine(recursive=True)."
- "Only specify the keys you want to override."
kea_dhcp__version_repo:
type: "str"
description: "Version of Kea DHCP repository to use"
description:
- "Version of Kea DHCP repository to use."
- "The versions can be found at https://cloudsmith.io/~isc/repos/"
default: "kea-3-0"
kea_dhcp__ntp_servers:
type: "dict"
description: "Default NTP servers advertised to DHCP clients (DHCPv4 option 42, DHCPv6 option 56)."
options:
v4:
type: "list"
elements: "str"
v6:
type: "str"
fqdn:
type: "str"
kea_dhcp__sntp_servers:
type: "dict"
description: "Default SNTP servers advertised to DHCPv6 clients (option 31)."
options:
v4:
type: "list"
elements: "str"
v6:
type: "list"
elements: "str"
kea_dhcp__dns_servers:
type: "dict"
description: "Default DNS servers for DHCP clients"
@ -27,9 +58,48 @@ argument_specs:
v4:
type: "list"
elements: "str"
kea_dhcp__dhcp4_defaults:
type: "dict"
description:
- "Default configuration for DHCPv4 service."
- "Merged with kea_dhcp__dhcp4 using combine(recursive=True)."
options:
enable:
type: "bool"
default: false
interfaces:
type: "list"
elements: "str"
default: []
control-sockets:
type: "list"
elements: "dict"
lease-database:
type: "dict"
hooks-libraries:
type: "list"
elements: "dict"
option-data:
type: "list"
elements: "dict"
subnets:
type: "list"
elements: "dict"
logging:
type: "list"
elements: "dict"
kea_dhcp__dhcp4:
type: "dict"
description: "Configuration for DHCPv4 service"
description:
- "Host/group override for DHCPv4 configuration."
- "Merged on top of kea_dhcp__dhcp4_defaults using combine(recursive=True)."
- "Only specify the keys you want to override."
- "See kea_dhcp__dhcp4_defaults for available options."
kea_dhcp__dhcp6_defaults:
type: "dict"
description:
- "Default configuration for DHCPv6 service."
- "Merged with kea_dhcp__dhcp6 using combine(recursive=True)."
options:
enable:
type: "bool"
@ -37,89 +107,28 @@ argument_specs:
interfaces:
type: "list"
elements: "str"
default: [ ]
default: []
control-sockets:
type: "list"
elements: "dict"
lease-database:
type: "dict"
hooks-libraries:
type: "list"
elements: "dict"
option-data:
type: "list"
elements: "dict"
subnets:
type: "list"
elements: "dict"
options:
id:
type: "int"
subnet:
type: "str"
pools:
type: "list"
elements: "dict"
options:
pool:
type: "str"
reservations:
type: "list"
elements: "dict"
options:
ip-address:
type: "str"
hostname:
type: "str"
hw-address:
type: "str"
duid:
type: "str"
option-data:
type: "list"
elements: "dict"
logging:
type: "list"
elements: "dict"
kea_dhcp__dhcp6:
type: "dict"
description: "Configuration for DHCPv6 service"
options:
enable:
type: "bool"
default: false
interfaces:
type: "list"
elements: "str"
default: [ ]
control-sockets:
type: "list"
elements: "dict"
lease-database:
type: "dict"
option-data:
type: "list"
elements: "dict"
subnets:
type: "list"
elements: "dict"
options:
id:
type: "int"
subnet:
type: "str"
pools:
type: "list"
elements: "dict"
options:
pool:
type: "str"
reservations:
type: "list"
elements: "dict"
options:
ip-address:
type: "str"
hostname:
type: "str"
hw-address:
type: "str"
duid:
type: "str"
option-data:
type: "list"
elements: "dict"
description:
- "Host/group override for DHCPv6 configuration."
- "Merged on top of kea_dhcp__dhcp6_defaults using combine(recursive=True)."
- "Only specify the keys you want to override."
- "See kea_dhcp__dhcp6_defaults for available options."