docs: standardize readme format

This commit is contained in:
Simon Cornet 2026-04-10 09:00:11 +02:00
commit dac09b6b1e

View file

@ -1,14 +1,30 @@
# Overview # Ansible Role: KEA DHCP
This role configures KEA DHCP. Install and configure [KEA DHCP](https://www.isc.org/kea/) server.
## Supported Operating Systems ## Variables
| Operating System | Version | | Variable | Required | Default | Description |
| --- | ----- | |----------|----------|---------|-------------|
| Alpine | 3.23 | | `kea_dhcp_interface` | Yes | `eth0` | Network interface to listen on |
| Debian | 13 | | `kea_dhcp_lease_rebind` | No | `750` | Lease rebind time in seconds |
| `kea_dhcp_lease_renew` | No | `600` | Lease renewal time in seconds |
| `kea_dhcp_lease_lifetime` | No | `900` | Lease lifetime in seconds |
| `kea_dhcp_subnets` | Yes | `[]` | List of DHCP subnets to configure |
## Tags ## Example
This role has no tags. ```yaml
kea_dhcp_interface: "eth0"
kea_dhcp_lease_lifetime: "3600"
kea_dhcp_subnets:
- name: "production-lan"
subnet: "192.168.1.0/24"
pool: "192.168.1.100 - 192.168.1.200"
gateway: "192.168.1.1"
dns: "192.168.1.10"
reservations:
- hostname: "server.example.com"
ip: "192.168.1.50"
mac: "AA:BB:CC:DD:EE:FF"
```