feat(pihole): add the pihole role

Installs Pi-hole v6 on Ubuntu noble and resolute by cloning the
upstream repository and running its installer unattended, with
pihole.toml rendered from pihole_default merged with pihole_overrides.
A change to pihole.toml runs the installer's reconfigure mode.

Validation runs first under always: the host must be Ubuntu, and the
merged settings need a non-empty interface and upstream list and a
string password other than the placeholder. pihole_web_password is a
required no_log input. Computed values are internal __pihole_ names.

Derived from codeberg.org/ansible/pihole (GPL-3.0-only) with Pi-hole
FTL comment text (EUPL-1.2): REUSE.toml annotations, the EUPL-1.2
text and NOTICE entries record both. The README roadmap drops pihole.

Assisted-by: Claude Code:claude-opus-5-5
This commit is contained in:
Defame1297 committed 2026-11-25 18:10:59 +00:00
1 parent 4a7189c067
commit 66628635b9
18 files changed
+2405 -8

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
---
minor_changes:
- >-
pihole - New role. Installs Pi-hole v6 on Ubuntu noble and resolute by cloning the upstream repository and running
its installer unattended, with ``pihole.toml`` rendered from ``pihole_default`` merged with ``pihole_overrides``.
``pihole_web_password`` is a required secret input, and ``pihole_overrides`` must set ``config.dns.interface``.
A change to ``pihole.toml`` runs the installer's reconfigure mode. Derived from codeberg.org/ansible/pihole
(GPL-3.0-only), with Pi-hole FTL comment text (EUPL-1.2).