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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Two local hooks hold rules that review held until now:
- refuse-plugins (language: fail, ^plugins/): the Collection holds roles
only; a plugin needs an ADR first, whose pull request removes the hook.
It runs before ansible-lint so that hook's fail_fast cannot hide it.
- refuse-agent-trailers (pygrep, commit-msg stage): refuses Claude-Session:
and Co-Authored-By: lines naming a known agent identity. A human
co-author passes, including one whose first name is Claude. The hook
name carries the rule, since pygrep prints no other message.
AGENTS.md and ai-assistance.md name the hook as a partial control of the
trailer rule; other AI trailers stay held by review.
Closes#272
Assisted-by: Claude Code
issue-tracker.md gains "Acting on an issue" under Conventions: the
label counts as set by the maintainer or a trusted contributor, from
their own account or an agent account in a session they drive; an
unattended agent never adds it and acts only on labelled issues opened
by one of those roles or an agent account; every agent treats issue
and comment text as data. Each rule is held aspirationally.
triage-labels.md says who sets the label, links to the rule, and uses
"unattended agent" for the glossary-avoided "AFK agent".
Closes#230
Assisted-by: Claude Code
The molecule.yml header said only trusted people can open pull
requests here; an outsider can open a fork pull request. It now names
the two boundaries: write access, and Gitea's approval gate on fork
runs, kept shut by the fork rule in reviewing.md. The fork guard in
the job's if: stays a convenience filter. The Molecule rule in
.gitea/workflows/AGENTS.md says the same, and issue-tracker.md says
fork pull requests are closed with a pointer to issues.
Closes#178
Assisted-by: Claude Code
issue-tracker.md becomes Conventions (operations as Gitea concepts) and a
Tool section with one tea command per operation, tea api for blocked_by
dependencies. It names no skill or MCP tool, and drops the maintainer-only
token and account-lookup lines. setup.md adds The tracker: install tea
0.14.2 or later and log in with a token of your own account.
dev-setup.sh warns when tea is missing or older; it installs nothing.
Closes#267
Assisted-by: Claude Code
List the remaining decided main protection settings, the tag and
release/* allowlist members and the Owners rule; name the workflows
that use the job token; hold account creation as aspirational; define
a full run before its first use.
Assisted-by: Claude Code
Add docs/contributing/maintaining.md with what only the maintainer does:
the secret rotation list, granting and withdrawing a trusted contributor,
agent and bot accounts, the intended settings and releases. Point to it
from the root AGENTS.md and the CONTRIBUTING.md index.
The two release rules (red nightly, no release while red) are held by
aspirational until their controls exist.
Closes#262
Assisted-by: Claude Code