summaryrefslogtreecommitdiffstats
path: root/roles/pihole/templates
AgeCommit message (Collapse)AuthorFilesLines
5 daysFix pihole port allocation, this fixes caddy testingAhmed Abdelhalim1-2/+2
domain = {{ pihole_domain }} rendered as an unquoted bareword containing a dot (e.g. "pi.hole"), which is invalid TOML. TOML parsing is all-or-nothing, not line-by-line, so pihole-FTL rejected the entire config file on that one line and silently fell back to its compiled-in defaults — including binding its webserver directly to ports 80/443. That collided with caddy, which wants the same ports, causing caddy to crash-loop and get reported as "changed" (needing a restart) on every subsequent ansible run. Quoting the domain value lets the file parse successfully, which in turn surfaces a second, previously-unreachable bug: the custom webserver port (pihole_port) was rendered as a bare number, but Pi-hole v6 FTL requires each listener address to carry a trailing flag character (o = optional, s = TLS). Without it FTL rejects the value the same way and reverts to the 80/443 default. Appending "o" fixes that. Both bugs had to be fixed together: the quoting bug was blocking the parser from ever reaching the port line, so the port fix alone had no effect until parsing succeeded end-to-end. Co-Authored-By: Claude.ai
5 daysFix nginx to use conventional ngix conf.dAhmed Abdelhalim1-0/+3
2026-06-18Implement support for conditional proxy (nginx or caddy)Ahmed Abdelhalim1-0/+5
2026-06-17Refactor pi roles to use .home.arpa subdomains for servicesAhmed Abdelhalim2-0/+20
2025-09-13Add pihole port configurations and integration with nginxAhmed Abdelhalim1-0/+10
2025-09-02Fix pihole_dhcp_lease_time configurationsAhmed Abdelhalim1-1/+1
2025-09-02Configure dhcp hosts in pihole roleAhmed Abdelhalim1-0/+1
2025-08-31Update pihole role to function as dhcp for the networkAhmed Abdelhalim1-0/+7
2025-08-19Fix pihole install to work on raspberry and simplify on archAhmed Abdelhalim1-1/+1
2025-08-11Add pihole role to configure raspberry piAhmed Abdelhalim1-0/+61