summaryrefslogtreecommitdiffstats
path: root/host_vars/rpi5.local.yml.example
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-09-23 12:41:14 +0200
committerAhmed Abdelhalim <[email protected]>2025-09-23 12:43:54 +0200
commit889bc61b6ca572e1f3718d8b1723248c73e747e4 (patch)
treec228694051b8a19cf8f22c47160f6fa34ef8bee8 /host_vars/rpi5.local.yml.example
parentd1853692be4764d26f78c3ad86704f737dc5d141 (diff)
Use static values for defaults instead of ansible vars
The ansible vars fail on CI because the validate arguments task runs way before the setting of the variables, which causes the ansible undefined vars on CI to cause errors. This is a way better approach of having the static values as defaults and allowing setting the variables to ansible vars in the host/group vars
Diffstat (limited to 'host_vars/rpi5.local.yml.example')
-rw-r--r--host_vars/rpi5.local.yml.example2
1 files changed, 1 insertions, 1 deletions
diff --git a/host_vars/rpi5.local.yml.example b/host_vars/rpi5.local.yml.example
index bfc05d83..9361aae3 100644
--- a/host_vars/rpi5.local.yml.example
+++ b/host_vars/rpi5.local.yml.example
@@ -12,7 +12,7 @@ pihole_interface: "{{ network_interface }}"
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_router: "{{ network_ipv4_address }}"
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"