summaryrefslogtreecommitdiffstats
path: root/roles/pihole/templates
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-09-02 04:38:23 +0200
committerAhmed Abdelhalim <[email protected]>2025-09-02 04:51:13 +0200
commita61e33c2ce6f138536492e006de7faf76662916a (patch)
tree99ee4b5f7f962e4fa16ed19556cd0d83b31a8ca8 /roles/pihole/templates
parentac410cee8f7ca8d199f61f92788e99867865b36e (diff)
Configure dhcp hosts in pihole role
Diffstat (limited to 'roles/pihole/templates')
-rw-r--r--roles/pihole/templates/pihole.toml.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/pihole/templates/pihole.toml.j2 b/roles/pihole/templates/pihole.toml.j2
index 67913821..8fc5571d 100644
--- a/roles/pihole/templates/pihole.toml.j2
+++ b/roles/pihole/templates/pihole.toml.j2
@@ -53,6 +53,7 @@ end = "{{ pihole_dhcp_end }}"
router = "{{ pihole_dhcp_router }}"
leaseTime = {{ pihole_dhcp_lease_time }}
domain = "{{ pihole_dhcp_domain }}"
+hosts = {{ pihole_dhcp_hosts | to_nice_json }}
{% endif %}
[webserver]