fix(pihole): declare and test noble only

The molecule-ubuntu2604 image cannot become root: sudo refuses with an
account validation failure, so resolute is not testable yet. Like the
other Ubuntu roles, pihole declares noble only and names resolute as an
untested platform in its README.

Assisted-by: Claude Code:claude-opus-5-5
This commit is contained in:
Defame1297 committed 2026-11-25 19:26:55 +00:00
1 parent 910d79768a
commit 8c00be1af2
4 files changed
+7 -22

No files matched your search

+2 -18
View File
@@ -1,7 +1,6 @@
---
# Runs on the repository's own runner (label kamino-molecule), on both declared platforms:
# molecule-ubuntu2404 (MOLECULE_IMAGE) and molecule-ubuntu2604 (MOLECULE_IMAGE_2604), the pins in
# .gitea/workflows/molecule.yml. Needs outbound network for the apt packages. The upstream
# Runs on the repository's own runner (label kamino-molecule), in the molecule-ubuntu2404 image
# (MOLECULE_IMAGE, the pin in .gitea/workflows/molecule.yml). Needs outbound network for the apt packages. The upstream
# Pi-hole repository is replaced by a local stub whose installer only logs its arguments
# (prepare.yml), so the scenario tests the role's own logic, not Pi-hole itself.
# The containers run systemd as PID 1 with a writable cgroup; no privileged mode.
@@ -23,21 +22,6 @@ platforms:
- /run/lock
security_opts:
- apparmor=unconfined
- name: ${KAMINO_RUN_ID:-local}-pihole-resolute
labels:
net.rkdr.mortis.molecule-run: "${KAMINO_RUN_ID:-local}"
image: ${MOLECULE_IMAGE_2604}
pre_build_image: true
pull: true
command: /sbin/init
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
tmpfs:
- /run
- /run/lock
security_opts:
- apparmor=unconfined
provisioner:
name: ansible
# One source for every play, so the converge and the negative tests in verify.yml start from