kea_dhcp(role): fix indentation in template

This commit is contained in:
bitwhisker 2026-05-25 21:27:25 +02:00
commit 09a4869ac1
Signed by: bitwhisker
SSH key fingerprint: SHA256:KybIk/tusSKao6eLGY+ILlFa1rCrzwx66/acBAcKUqE

View file

@ -3,12 +3,12 @@
"interfaces-config": { "interfaces-config": {
"interfaces": {{ kea_dhcp__dhcp4.interfaces | to_nice_json }} "interfaces": {{ kea_dhcp__dhcp4.interfaces | to_nice_json }}
}, },
"control-sockets": {{ kea_dhcp__dhcp4['control-sockets'] | to_nice_json }}, "control-sockets": {{ kea_dhcp__dhcp4['control-sockets'] | to_nice_json }},
"lease-database": {{ kea_dhcp__dhcp4['lease-database'] | to_nice_json }}, "lease-database": {{ kea_dhcp__dhcp4['lease-database'] | to_nice_json }},
{% if kea_dhcp__dhcp4['option-data'] is defined and kea_dhcp__dhcp4['option-data'] %} {% if kea_dhcp__dhcp4['option-data'] is defined and kea_dhcp__dhcp4['option-data'] %}
"option-data": {{ kea_dhcp__dhcp4['option-data'] | to_nice_json }}, "option-data": {{ kea_dhcp__dhcp4['option-data'] | to_nice_json }},
{% endif %} {% endif %}
"subnet4": [ "subnet4": [
{% for subnet in kea_dhcp__dhcp4.subnets %} {% for subnet in kea_dhcp__dhcp4.subnets %}
{ {
"id": {{ subnet.id }}, "id": {{ subnet.id }},