The three positions decided in "How friends get code in" (#100): who has
write access and the secrets, who contributes from an approved fork, and
who contributes through issues.
Assisted-by: Claude Code:claude-opus-5-5
The three rejection cases only printed "Rejected as expected", so they would
also pass when the role failed for another reason. Assert that the failure
carries the validation message of fail2ban_ignoreip.
Assisted-by: Claude Code
argument_specs accepts a plain string for a list option and leaves it a string,
and accepts a list holding a number or null. The pattern check then iterated a
string per character and rendered "1 . 2 . 3 . 4", or died with a TypeError on
null. Check the type first (assert stops at the first false item).
Also refuse ";" and "%" in an entry: Fail2Ban's config parser treats ";" after
whitespace as an inline comment, which drops the rest of the ignoreip line
without an error, and "%" as interpolation syntax, which fails the whole config
after jail.local is written. Add Molecule cases for a scalar string and a
semicolon entry.
Document what review found: service_jail does not read the variable, the
[DEFAULT] value replaces an ignoreip set in jail.conf or jail.d/*.conf, a failed
hostname lookup leaves the entry ineffective with a log warning (addresses and
networks are safer), and --tags fail2ban_configure skips the validation.
Assisted-by: Claude Code
Write fail2ban_ignoreip as ignoreip in the [DEFAULT] section of jail.local, so
it applies to every jail, the service jails in jail.d included. The default is
Fail2Ban's own (127.0.0.1/8 and ::1). Entries are validated (no whitespace,
\Z-anchored) because they are joined into one line.
The first run after upgrading adds the [DEFAULT] section and restarts Fail2Ban
once.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q72rsMCgwaR1sbYZangwbp
An ubuntu digest move makes two PRs per release (base image and job
container). Two runs in a row (03:17 and a manual dispatch) spent the default
limit of 2 on them, so the conventional-pre-commit bump and the ci pin-follow
PR never got a slot and had to be made by hand.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTRacjtXvmKxHr5TM5G
Hand-made pin follow-up (the Renovate PRs were held back by its hourly PR
limit). Digests are the "Pinned reference" lines of the Images runs on main:
ci 0.2.23 (run 3970), molecule-ubuntu2404 0.1.7 (run 3925), molecule-ubuntu2604
0.1.4 (run 3952).
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTRacjtXvmKxHr5TM5G
Hand-made instead of Renovate's PR: the hourly PR limit was used up by
ubuntu digest bumps twice. The hook is an image input, so ci gets its
PATCH bump (0.2.22 -> 0.2.23). The rev is the dereferenced commit of the
annotated tag v4.5.0 (git ls-remote ...^{}).
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTRacjtXvmKxHr5TM5G
system_baseline gains an optional tmux session on SSH login, a toggle
to skip the package update in the main flow, and pinned
unattended-upgrades origins for the pve profile. No new roles.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
The origins check now refuses a dict, which Jinja's sequence test accepts.
The changelog states that the pve drop-in drops origins added in earlier
apt.conf.d files and names the opt-out; the README and the drop-in header
note that /etc/apt/apt.conf, read after apt.conf.d, can still add origins;
the verify play notes that the pve run rewrites the 50unattended-upgrades
keys and the ubuntu_lxc re-run restores them.
Refs defame1297/ansible-homelab-mono#349
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
system_baseline_update (default true) lets the main flow skip the package
update for hosts patched by a separate, operator-run flow. The update entry
point does not read it: calling it is the request to update.
The new profile key unattended_upgrade_origins is rendered into
/etc/apt/apt.conf.d/90unattended-upgrades-origins, which #clears both
origin lists before setting the pinned patterns, because apt appends list
entries across files and a plain drop-in could only widen them. The pve
profile pins Debian's point-release and security origins, never the
Proxmox repository; the ubuntu profiles pin nothing and are unchanged.
Refs defame1297/ansible-homelab-mono#349
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Dry run 3880 showed that since #124 Renovate proposed no bump at all:
- pip-compile: the manager refused the lock's header ("Option --newline=LF
not supported (yet)"), extracted nothing and only logged a WARN, so the
Python tools were never bumped. Drop --newline from
scripts/lock-requirements.sh and the lock header (the 81 entries and
hashes are unchanged); the manager now reads 81 dependencies. The lock is
an image input: ci 0.2.19 -> 0.2.20.
- pre-commit: every hook was skipped (skipReason github-token-required, no
GitHub token exists), and with the warning off the GitHub GraphQL lookup is
refused at once (403 rate limit). Look the hooks up with git ls-remote
(packageRule overrideDatasource git-tags, which needs
RENOVATE_GITHUB_TOKEN_WARN=false because the token check runs before
package rules apply). Renovate dereferences annotated tags, so the new rev
is the commit (checked against git ls-remote for conventional-pre-commit
v4.5.0). git-tags has no release timestamps, so hook bumps are not
automerged.
Tested with [email protected].0 --platform=local against this checkout. Not
tested: the real job (renovate.json is read from main), the lock replay by
Renovate's pip-compile artifact step, and the ci 0.2.20 image build.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTRacjtXvmKxHr5TM5G
Second PR of the two-PR loop for the ci image: 0.2.19 (hashed dev-tools
lock, SHA-pinned hook revisions, #124) is built and published. Its first
build on main failed with "disk quota exceeded" on the runner's 16 GB
rootfs; after the runner's Docker data was pruned the re-run succeeded and
printed this digest.
Pinned reference:
git.rkdr.net/mortis/ci:0.2.19@sha256:c3fbebe64520281218295169f2228558a125ed573237b5dafd2533ba55606fd7
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>