From 889bc61b6ca572e1f3718d8b1723248c73e747e4 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Tue, 23 Sep 2025 12:41:14 +0200 Subject: 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 --- host_vars/rpi5.local.yml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host_vars') 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" -- cgit v1.2.3