Commit Graph
697 Commits
Author SHA1 Message Date
Defame1297 a6b8bc150d test(roles): run docker and gitea on 26.04 and check become in its smoke scenario
Build / build (pull_request) Successful in 46s
Molecule / molecule (pull_request) Canceled after 30s
Lint / lint (pull_request) Canceled after 44s
molecule-ubuntu2604 0.1.7 lets become from root through and ships gnupg,
so docker and gitea declare resolute like the other Ubuntu roles and the
accepted exception goes. The 26.04 image-smoke scenario now checks
become and gnupg, so a regression fails the image's own pin pull request.

Assisted-by: Claude Code
2026-11-25 22:33:59 +00:00
Defame1297 5f936962e0 Merge remote-tracking branch 'origin/main' into test/133-ubuntu-2404-2604 2026-11-25 22:26:07 +00:00
Defame1297 6f73021d3f Merge pull request 'chore(deps): update dependency antsibull-changelog to v0.38.0' (#385) from renovate/antsibull-changelog-0.x into main
Images / image (0.1, Dockerfile, ubuntu:24.04@sha256:9c7f200c07e3d4a03e7249d2c16bf66a51120fb876aa2242cf31451412543289, molecule-ubuntu2404, images/molecule-ubuntu2404) (push) Successful in 20s
Images / image (0.1, Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, molecule-ubuntu2604, images/molecule-ubuntu2604) (push) Successful in 18s
Images / image (0.2, images/ci/Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, ci, ) (push) Successful in 5m5s
Reviewed-on: #385
2026-11-25 22:16:17 +00:00
Defame1297 9d365f14ae Merge branch 'main' into renovate/antsibull-changelog-0.x
Build / build (pull_request) Successful in 27s
Molecule / molecule (pull_request) Successful in 1m8s
Lint / lint (pull_request) Successful in 1m50s
2026-11-25 22:14:07 +00:00
Defame1297 44cd287d41 Merge pull request 'chore(deps): update git.rkdr.net/mortis/molecule-ubuntu2604 docker tag to v0.1.7' (#384) from renovate/git.rkdr.net-mortis-molecule-ubuntu2604-0.x into main
Reviewed-on: #384
Reviewed-by: Defame1297 <[email protected]>
2026-11-25 22:12:40 +00:00
renovate-bot 8def6cf274 chore(deps): update dependency antsibull-changelog to v0.38.0
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 43s
Lint / lint (pull_request) Successful in 3m49s
Molecule / molecule (pull_request) Successful in 2m20s
2026-11-25 21:52:13 +00:00
renovate-bot da76e995b6 chore(deps): update git.rkdr.net/mortis/molecule-ubuntu2604 docker tag to v0.1.7
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 21s
Lint / lint (pull_request) Successful in 2m37s
Molecule / molecule (pull_request) Successful in 20m12s
2026-11-25 21:51:52 +00:00
Defame1297 0d0fc3d1ec Merge pull request 'fix(images): let become work on molecule-ubuntu2604 and add gnupg' (#382) from fix/376-2604-become into main
Images / image (0.1, Dockerfile, ubuntu:24.04@sha256:9c7f200c07e3d4a03e7249d2c16bf66a51120fb876aa2242cf31451412543289, molecule-ubuntu2404, images/molecule-ubuntu2404) (push) Successful in 12s
Images / image (0.1, Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, molecule-ubuntu2604, images/molecule-ubuntu2604) (push) Successful in 40s
Images / image (0.2, images/ci/Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, ci, ) (push) Successful in 15s
Reviewed-on: #382
Reviewed-by: Defame1297 <[email protected]>
2026-11-25 21:50:14 +00:00
Defame1297 87b87dbcef test(images): check become on 26.04 after the fixed image is pinned
Build / build (pull_request) Successful in 30s
Molecule / molecule (pull_request) Successful in 38s
Lint / lint (pull_request) Successful in 1m40s
The 26.04 smoke checks run against the pinned image, which gains the
fix only after this change is built and pinned; they follow with the
pin.

Assisted-by: Claude Code
2026-11-25 21:47:15 +00:00
Defame1297 efd3a550c5 fix(images): let become work on molecule-ubuntu2604 and add gnupg
Build / build (pull_request) Successful in 30s
Molecule / molecule (pull_request) Failing after 1m4s
Lint / lint (pull_request) Successful in 1m56s
In the booted 26.04 container, pam_unix's account check for sudo runs
the unix_chkpwd helper, which fails there, so become from root fails
with "account validation failure". /etc/pam.d/sudo now lets root
through with pam_rootok before common-account; a non-root caller still
goes through pam_unix. The build fails if the line does not apply.

gnupg joins the image, as in the 24.04 image: the docker and gitea
scenarios need it on the target. The temporary diagnostics are removed.

Closes #376

Assisted-by: Claude Code
2026-11-25 21:42:58 +00:00
Defame1297 5364f18728 test(images): try pam_rootok for become on 26.04 (temporary diagnostics)
Build / build (pull_request) Successful in 29s
Molecule / molecule (pull_request) Successful in 1m4s
Lint / lint (pull_request) Successful in 1m56s
Assisted-by: Claude Code
2026-11-25 21:32:18 +00:00
Defame1297 62ffae7764 test(images): check become in the image-smoke scenarios
Build / build (pull_request) Successful in 30s
Molecule / molecule (pull_request) Failing after 1m20s
Lint / lint (pull_request) Failing after 1m50s
Both smoke scenarios now run a become task, as every role scenario does,
so a molecule image where become fails no longer passes its own pin pull
request. The 26.04 scenario also carries temporary diagnostics for #376.

Assisted-by: Claude Code
2026-11-25 21:28:25 +00:00
Defame1297 1f27f02f13 test(roles): accept both prohibit-password names and declare pihole on 26.04
Build / build (pull_request) Successful in 32s
Lint / lint (pull_request) Successful in 3m0s
Molecule / molecule (pull_request) Failing after 13m34s
sshd -T prints prohibit-password as without-password on OpenSSH 9 and
as prohibit-password on OpenSSH 10 (Ubuntu 26.04). pihole shipped in
2.1.0 on noble only, so gaining resolute is a minor change. The docker
and gitea exception now points at the image fix, #376.

Assisted-by: Claude Code
2026-11-25 21:09:12 +00:00
Defame1297 df06260b27 Merge remote-tracking branch 'origin/main' into test/133-ubuntu-2404-2604
# Conflicts:
#	changelogs/fragments/pihole-role.yml
2026-11-25 21:09:00 +00:00
Defame1297 392fbd910b Merge pull request 'chore(release): 2.1.0' (#380) from chore/release-2.1.0 into main
Build / build (push) Successful in 21s
Reviewed-on: #380
v2.1.0
2026-11-25 20:45:45 +00:00
Defame1297 2e1ad033e4 test(roles): run the Ubuntu roles on 24.04 and 26.04 and declare exactly those
Build / build (pull_request) Successful in 51s
Lint / lint (pull_request) Successful in 3m42s
Molecule / molecule (pull_request) Failing after 20m50s
Every role except network_interfaces runs its molecule scenarios on the
24.04 and 26.04 images and declares Ubuntu noble and resolute; jammy and
Ubuntu all are dropped. trixie stays declared until the Debian 13 image
(#226) tests it. docker and gitea stay on noble until the 26.04 image
ships gnupg (#378).

Closes #133

Assisted-by: Claude Code
2026-11-25 20:17:53 +00:00
Defame1297 f55fe7cf72 chore(release): add the docker daemon.json inputs to 2.1.0
Build / build (pull_request) Successful in 49s
Lint / lint (pull_request) Successful in 3m42s
Molecule / molecule (pull_request) Successful in 10s
Assisted-by: Claude Code:claude-opus-5-5
2026-11-25 20:10:13 +00:00
Defame1297 5aa27d2727 Merge remote-tracking branch 'origin/main' into chore/release-2.1.0 2026-11-25 20:09:57 +00:00
Defame1297 3bfc485076 Merge pull request 'feat(docker): manage /etc/docker/daemon.json (live-restore, log driver, extra options)' (#379) from feat/375-docker-daemon-json into main
Reviewed-on: #379
Reviewed-by: Defame1297 <[email protected]>
2026-11-25 20:07:19 +00:00
Defame1297 3bc21bd630 Merge branch 'main' into feat/375-docker-daemon-json
Build / build (pull_request) Successful in 53s
Molecule / molecule (pull_request) Successful in 11m35s
Lint / lint (pull_request) Successful in 4m16s
2026-11-25 19:49:56 +00:00
Defame1297 69576a4dd7 chore(release): 2.1.0
Build / build (pull_request) Canceled after 0s
Molecule / molecule (pull_request) Canceled after 0s
Lint / lint (pull_request) Canceled after 0s
Minor release: adds the pihole role and the system_baseline
system_baseline_apt_tmpdir input, and fixes the apt upgrade losing its
staged packages when it restarts ssh.service on a host with PrivateTmp.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-25 19:45:06 +00:00
Defame1297 3149c22f93 Merge pull request 'fix(system_baseline): run the apt upgrade with TMPDIR outside /tmp and /var/tmp' (#377) from fix/374-apt-tmpdir into main
Reviewed-on: #377
Reviewed-by: Defame1297 <[email protected]>
2026-11-25 19:42:14 +00:00
Dragonish 887302b208 feat(docker): manage /etc/docker/daemon.json (live-restore, log driver, extra options)
Build / build (pull_request) Successful in 51s
Molecule / molecule (pull_request) Canceled after 0s
Lint / lint (pull_request) Canceled after 1m20s
Adds docker_daemon_options, docker_live_restore, docker_log_driver,
docker_log_max_size, docker_log_max_file and docker_daemon_restart.

The file is written, before the packages are installed, only when one of
the first five is set, so a host that sets none is unchanged; the role
then owns the whole file. It restarts dockerd only when
docker_daemon_restart is true, because a restart with live-restore off
ends every container, and says so when the file applies later. A key set
by both docker_daemon_options and a dedicated input, and a bad log value,
stop the run before any change.

Closes #375

Assisted-by: Claude Code:claude-sonnet-5-5
2026-11-25 19:42:06 +00:00
Defame1297 ebac95e51d Merge branch 'main' into fix/374-apt-tmpdir
Build / build (pull_request) Successful in 25s
Lint / lint (pull_request) Successful in 1m48s
Molecule / molecule (pull_request) Successful in 3m11s
2026-11-25 19:38:19 +00:00
Defame1297 428b88a822 Merge pull request 'feat(pihole): add the pihole role' (#372) from feat/pihole-role into main
Reviewed-on: #372
Reviewed-by: Defame1297 <[email protected]>
2026-11-25 19:37:18 +00:00
Defame1297 0a5a5c532a Merge remote-tracking branch 'origin/feat/pihole-role' into feat/pihole-role
Build / build (pull_request) Successful in 30s
Lint / lint (pull_request) Successful in 1m57s
Molecule / molecule (pull_request) Successful in 1m36s
2026-11-25 19:32:50 +00:00
Defame1297 8c00be1af2 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
2026-11-25 19:26:55 +00:00
Defame1297 a9a332457b Merge branch 'main' into feat/pihole-role
Build / build (pull_request) Successful in 27s
Molecule / molecule (pull_request) Failing after 1m8s
Lint / lint (pull_request) Successful in 1m53s
2026-11-25 19:23:26 +00:00
Dragonish 1bbf3368ee fix(system_baseline): run the apt upgrade with TMPDIR outside /tmp and /var/tmp
Build / build (pull_request) Successful in 31s
Lint / lint (pull_request) Canceled after 1m40s
Molecule / molecule (pull_request) Canceled after 1m13s
An openssh-server upgrade restarts ssh.service. With PrivateTmp=yes systemd
then deletes that unit's /tmp and /var/tmp, which removes the files apt
staged there while the upgrade is still running, so dpkg fails and leaves
packages unpacked but not configured.

The update flow now creates system_baseline_apt_tmpdir (root, mode 0700),
runs the upgrade and the autoremove with TMPDIR set to it, and opens a new
connection afterwards. The input is validated in the main flow and in the
update entry point: absolute, no "..", not under /tmp or /var/tmp.

Closes #374

Assisted-by: Claude Code:claude-sonnet-5-5
2026-11-25 19:21:01 +00:00
Defame1297 910d79768a fix(pihole): run every fact-only task whatever tags are skipped
Build / build (pull_request) Successful in 27s
Molecule / molecule (pull_request) Failing after 1m2s
Lint / lint (pull_request) Successful in 1m52s
The installed check carried only updates-only and the merge kept its own
default tag, so skipping either left a fact undefined that untagged tasks
read. Both now run under always alone, and the README Tags section no
longer names updates-only, which selected nothing else.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-25 19:09:39 +00:00
Defame1297 008c5ab8a4 Merge pull request 'chore(release): 2.0.1' (#373) from chore/release-2.0.1 into main
Build / build (push) Successful in 23s
Reviewed-on: #373
v2.0.1
2026-11-25 19:06:46 +00:00
Defame1297 d167cbefc5 docs(galaxy): name pihole in the Collection description
Assisted-by: Claude Code:claude-opus-5-5
2026-11-25 19:01:33 +00:00
Defame1297 71ae86dc61 test(pihole): assert the config directory, group and clone version
verify.yml now checks the group of pihole.toml, the owner, group and mode
of /etc/pihole, and that the clone is checked out at the repo.version the
converge used, read from the role defaults. The molecule.yml comment
describes the test sequence accurately.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-25 18:58:16 +00:00
Defame1297 d84fb4a2f4 fix(pihole): address review findings
Remove the pihole_force_install input, which had no effect, and the dead
term of the install condition. Tag the merge and the configuration
directory check always, so --skip-tags config-only no longer skips facts
that later tasks read. Skip the installer log under --check, where the
installer did not run. Read the env and user_id facts through
ansible_facts, drop a redundant default, state the real reasons two
defaults stay out of the argument spec, and bring the README to the
fixed heading set.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-25 18:53:21 +00:00
Dragonish a930a58beb chore(release): 2.0.1
Build / build (pull_request) Successful in 29s
Molecule / molecule (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 1m24s
Patch release: the docker role gains the opt-in boot and shutdown units
for hosts that run Docker with live-restore.

Assisted-by: Claude Code:claude-sonnet-5-5
2026-11-25 18:49:55 +00:00
Defame1297 9979dfa8ed Merge branch 'main' into feat/pihole-role 2026-11-25 18:27:33 +00:00
Defame1297 b0717eed0a Merge pull request 'feat(docker): add opt-in boot and shutdown units for hosts that run Docker with live-restore' (#371) from feat/369-docker-boot-shutdown-units into main
Reviewed-on: #371
Reviewed-by: Defame1297 <[email protected]>
2026-11-25 18:25:58 +00:00
Defame1297 81b0fc2277 Merge branch 'main' into feat/369-docker-boot-shutdown-units
Build / build (pull_request) Successful in 30s
Lint / lint (pull_request) Successful in 2m2s
Molecule / molecule (pull_request) Successful in 5m51s
2026-11-25 18:19:32 +00:00
Defame1297 a82cbbd306 Merge pull request 'docs(roles): bring every role README to the fixed heading set' (#370) from docs/136-role-readme-headings into main
Reviewed-on: #370
2026-11-25 18:18:16 +00:00
Defame1297 bf6f9b5800 test(pihole): add the default molecule scenario
Build / build (pull_request) Successful in 27s
Lint / lint (pull_request) Successful in 2m7s
Molecule / molecule (pull_request) Failing after 2m27s
Runs on noble and resolute without the real Pi-hole: the clone target
is a local git repository whose installer is a stub that logs its
arguments and creates the database file.

Covers a check run before the converge and after idempotence, the
merge, the rendered pihole.toml (upstreams, interface, hashed
password, owner and mode), the system user, the installer sequence
(install once, then reconfigure from the handler) and a negative test
for every validation: no Ubuntu facts, a missing pihole_web_password,
an unset interface, empty upstreams, a non-string and a placeholder
password. No pihole-FTL service runs, so the loaded configuration is
not verified.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-25 18:11:00 +00:00
Defame1297 66628635b9 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
2026-11-25 18:10:59 +00:00
Dragonish 567e9cca7c feat(docker): add opt-in boot and shutdown units for hosts that run Docker with live-restore
Build / build (pull_request) Successful in 27s
Lint / lint (pull_request) Successful in 2m15s
Molecule / molecule (pull_request) Successful in 4m17s
docker_start_missed installs a boot unit that starts the containers dockerd's
restore pass skipped after a reboot of the whole host. docker_stop_at_shutdown
installs a unit that ends container processes at shutdown while the network and
NFS shares are still up, so a container holding an NFS mount no longer stalls
the shutdown. Both default to false and do nothing without /usr/bin/docker.

Refs #369

Assisted-by: Claude Code
2026-11-25 17:31:37 +00:00
Defame1297 234648919c docs(roles): bring every role README to the fixed heading set
Build / build (pull_request) Successful in 27s
Molecule / molecule (pull_request) Successful in 4s
Lint / lint (pull_request) Successful in 1m21s
Every public role README has the headings Supported platforms, Requirements
and run order, Role variables, Entry points (when several), Variables set by
the role (when any), Tags, Example play, Tests and Notes, in that order, with
an "Idempotent" line in Notes. Role-specific sections move under Entry points
or Notes; nothing is removed. The internal _binary_update README keeps its own
headings and gains the platform and Idempotent lines.

Closes #136

Assisted-by: Claude Code:claude-opus-5-5
2026-11-25 17:24:27 +00:00
Defame1297 4a7189c067 Merge pull request 'ci(lint): run every commit-msg hook on a pull request's commits' (#368) from ci/lint-all-commit-msg-hooks into main
Reviewed-on: #368
2026-11-25 13:26:45 +00:00
Defame1297 f5d4793d43 Merge branch 'main' into ci/lint-all-commit-msg-hooks
Build / build (pull_request) Successful in 27s
Molecule / molecule (pull_request) Successful in 4s
Lint / lint (pull_request) Successful in 1m21s
2026-11-25 13:25:22 +00:00
Defame1297 696fe92142 Merge pull request 'ci: run two jobs on the runner and give molecule 45 minutes' (#367) from ci/243-capacity-two into main
Images / image (0.1, Dockerfile, ubuntu:24.04@sha256:9c7f200c07e3d4a03e7249d2c16bf66a51120fb876aa2242cf31451412543289, molecule-ubuntu2404, images/molecule-ubuntu2404) (push) Successful in 13s
Images / image (0.1, Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, molecule-ubuntu2604, images/molecule-ubuntu2604) (push) Successful in 14s
Images / image (0.2, images/ci/Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, ci, ) (push) Successful in 14s
Reviewed-on: #367
2026-11-25 13:15:03 +00:00
Defame1297 a0b875fe65 Merge branch 'main' into ci/243-capacity-two
Build / build (pull_request) Successful in 27s
Lint / lint (pull_request) Successful in 2m23s
Molecule / molecule (pull_request) Successful in 16m4s
2026-11-25 12:58:27 +00:00
Defame1297 5f655cbb76 ci(lint): run every commit-msg hook on a pull request's commits
Build / build (pull_request) Successful in 44s
Lint / lint (pull_request) Successful in 3m18s
Molecule / molecule (pull_request) Successful in 8s
The Lint step gave each commit's message only to conventional-pre-commit,
so refuse-agent-trailers ran nowhere in CI: --no-verify, a clone without
dev-setup.sh or a commit made through the forge passed it unseen. The
step now runs every commit-msg hook, and the trailer rule's held-by
names the Lint check.

Assisted-by: Claude Code
2026-11-25 11:58:29 +00:00
Defame1297 8133e8453e ci: run two jobs on the runner and give molecule 45 minutes
Build / build (pull_request) Successful in 29s
Lint / lint (pull_request) Successful in 2m23s
Molecule / molecule (pull_request) Successful in 17m21s
The runner now takes two jobs at a time, so a Lint and a Build of one pull
request start together. The image.yml comment no longer says builds run on a
single-capacity runner: max-parallel keeps the builds to one at a time, and a
build may share the runner with one other job.

Two full molecule runs sharing the runner (a nightly run and a dispatch)
take longer than 30 minutes; both were cut off at the timeout with every
finished scenario green. The timeout goes to 45 minutes, and the sweep age
with it (a script test holds the two equal).

Refs #243

Assisted-by: Claude Code:claude-opus-5-5
2026-11-25 10:58:36 +00:00
Defame1297 b32e56c10a Merge pull request 'chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.43' (#366) from renovate/git.rkdr.net-mortis-ci-0.x into main
Reviewed-on: #366
Reviewed-by: Defame1297 <[email protected]>
2026-11-25 10:26:37 +00:00