summaryrefslogtreecommitdiffstats
path: root/host_vars
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 /host_vars
parentac410cee8f7ca8d199f61f92788e99867865b36e (diff)
Configure dhcp hosts in pihole role
Diffstat (limited to 'host_vars')
-rw-r--r--host_vars/rpi5.local.ymlbin547 -> 716 bytes
-rw-r--r--host_vars/rpi5.local.yml.example7
2 files changed, 7 insertions, 0 deletions
diff --git a/host_vars/rpi5.local.yml b/host_vars/rpi5.local.yml
index 9793f631..e571289d 100644
--- a/host_vars/rpi5.local.yml
+++ b/host_vars/rpi5.local.yml
Binary files differ
diff --git a/host_vars/rpi5.local.yml.example b/host_vars/rpi5.local.yml.example
index e195ccfc..1fc19dd1 100644
--- a/host_vars/rpi5.local.yml.example
+++ b/host_vars/rpi5.local.yml.example
@@ -8,6 +8,13 @@ network_ipv6_gateway: "fd5c:fd8b:2b8c::1"
# TOTP generator: `openssl rand -base64 32 | head -c "20" | base32`
pihole_totp_secret: "CHANGEME"
pihole_password: "{{ ('changeme' | hash('sha256') | hash('sha256'))[:64] }}"
+pihole_dhcp_enabled: true
+pihole_dhcp_start: "10.0.0.100"
+pihole_dhcp_end: "10.0.0.199"
+pihole_dhcp_router: "10.0.0.200"
+pihole_dhcp_hosts:
+ - "ff:ff:ff:ff:ff:fe, 10.0.0.252,TV"
+ - "ff:ff:ff:ff:ff:ff, 10.0.0.253,Printer"
wireguard_gateway_enabled: true
wireguard_autostart_connection: "protonvpn-us-1"