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
19 lines
484 B
YAML
19 lines
484 B
YAML
---
|
|
galaxy_info:
|
|
role_name: pihole
|
|
namespace: mortis
|
|
author: Taha Ahmed (solarchemist), modified by Defame1297
|
|
license: GPL-3.0-only AND EUPL-1.2
|
|
description: Install and configure Pi-hole v6 from the upstream repository in unattended mode, rendering pihole.toml from a merged settings dict.
|
|
min_ansible_version: "2.22"
|
|
platforms:
|
|
- name: Ubuntu
|
|
versions:
|
|
- noble
|
|
- resolute
|
|
galaxy_tags:
|
|
- pihole
|
|
- dns
|
|
- adblock
|
|
dependencies: []
|