Commit Graph
378 Commits
Author SHA1 Message Date
Defame1297andClaude Opus 5.5 ce537fc6b4 fix(user_management): hand back to the created user and refuse a mismatched fallback
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 34s
Molecule / molecule (pull_request) Successful in 10m5s
The handback switched the connection to ansible_user, while the role creates
user_management_ansible_user.name. When the two differed, the root fallback
created a user nobody connects as, and the handback then failed after the
changes made as root, or later plays connected as the wrong user.

The fallback now asserts, before switching to root, that the primary user's
name equals ansible_user (set as a variable), and the handback switches to
the user the role created. No change where the names are equal (the default).

Also name user_management as a user of ansible.posix in the galaxy.yml comment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-16 17:27:39 +00:00
Defame1297andClaude Opus 5.5 da87a7e141 docs(user_management): state gather_facts, key exclusivity and known limits
From review of the extraction. Documentation only; behaviour is unchanged.
- The play needs gather_facts: false, or a fresh guest is unreachable before
  the root fallback runs (README requirement and example, argument spec).
- user_management_authoritative skips a user whose merged key list is empty,
  so emptying the list keeps that user's existing keys.
- user_management_become_password_hashed is required unless
  user_management_ansible_user is overridden.
- Known limits: molecule does not exercise the fallback or the handback, the
  handback reconnects as ansible_user, a partial tag run on a fresh host
  fails at the handback, and the primary user can be set absent.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-16 17:21:38 +00:00
Defame1297andClaude Opus 5.5 a1645040ae docs(user_management): say how the root password lock works in the defaults comment
The comment said usermod -L, but the role replaces the shadow field with "!" and
drops the old hash, which usermod -L would keep.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-16 17:15:21 +00:00
Defame1297andClaude Opus 5.5 f290b9f151 docs(user_management): name the sshd role without its FQCN
The README and the comments of tasks/bootstrap.yml, tasks/handback.yml
and tasks/lock_root.yml named mortis.kamino.sshd, which the
role-independence test refuses in a role's docs. They now name the sshd
role (of this Collection), as the ufw role does for system_baseline. The
role's own FQCN in its README and scenario stays, as in sshd and ufw.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-16 17:14:02 +00:00
Defame1297andClaude Opus 5.5 2713753039 feat(user_management): add the user_management role
Copied from the environment repository's local role. The files are
identical except: galaxy namespace mortis; comments and the README
scrubbed of environment references (issue numbers, playbooks, inventory
groups and group_vars paths, the provisioning roles by name, the history
of the variable rename), with the technical explanation kept; the README
asks for the role by its FQCN, names the run order generically (after the
step that creates the guest, before mortis.kamino.sshd) and its example
play uses mortis.kamino.user_management; the molecule scenario calls the
role by its FQCN, follows the Kamino scenario conventions (kamino-molecule
header, scenario.test_sequence) and no longer sets ANSIBLE_COLLECTIONS_PATH
or ANSIBLE_ROLES_PATH. No variable, default, argument_specs entry or task
logic changed: the key-only root fallback, the handback and
user_management_lock_root_password (default false) are as in the source,
and prepare/verify are unchanged. The role uses ansible.posix
(authorized_key), already a galaxy.yml dependency, so galaxy.yml is
unchanged.

The README Roadmap no longer lists wave 1; CLAUDE.md names the role for
the next release.

Not verified locally: the molecule scenario (it runs on the
kamino-molecule runner in CI) and ansible-test sanity (runs on push).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-16 17:12:05 +00:00
Defame1297 3d7a4356e6 Merge pull request 'ci(image): move the ci pins in lint and build to 0.2.27' (#222) from fix/ci-pin-0.2.27 into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 31s
Reviewed-on: #222
2026-11-16 11:29:40 +00:00
Defame1297andClaude Sonnet 5.5 c8b07c0349 ci(image): move the ci pins in lint and build to 0.2.27
Build / build (pull_request) Successful in 29s
Lint / lint (pull_request) Successful in 31s
Molecule / molecule (pull_request) Successful in 1s
0.2.27 is the first ci image with the Python 3.14 venv (0.2.25 still has 3.13). The
0.2.26 push failed (HTTP 413) and was never published.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-16 10:23:19 +00:00
Defame1297 c77474d2c5 Merge pull request 'fix(image): drop the unused libpython shared libraries from the ci image' (#220) from fix/ci-image-layer-size into main
Build / build (push) Successful in 11s
Images / image (Dockerfile, ubuntu:24.04@sha256:2198e4c65076e9cb0b3d695219df667c0e3b0072da64ca3c2648aca17dcecaf5, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.7) (push) Successful in 9s
Lint / lint (push) Successful in 30s
Images / image (Dockerfile, ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.4) (push) Successful in 9s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96, ci, , 0.2.27) (push) Successful in 4m25s
Reviewed-on: #220
2026-11-16 08:29:36 +00:00
Defame1297andClaude Sonnet 5.5 cf5f4b596c fix(image): drop the unused libpython shared libraries from the ci image
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 31s
Molecule / molecule (pull_request) Successful in 1s
The ci 0.2.26 build succeeded but its push got HTTP 413 from Cloudflare: the
/opt/python layer, now three baked interpreters (3.11, 3.13, 3.14), was 99.1 MB
compressed (the registry stores about 9% more), over the 95 MiB limit. Each
python-build-standalone interpreter ships a ~33 MB lib/libpython<MINOR>.so
next to a statically linked python binary that does not use it. Remove it
unless the binary links it. /opt/python goes from 95.8 to 67.7 MB compressed
in a local run; all three interpreters still import ssl, sqlite3 and venv.
ci image 0.2.26 (never published) -> 0.2.27.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-16 08:24:06 +00:00
Defame1297 8239ba2bd4 Merge pull request 'ci(python): one Python (3.14) for the lock, a clone and the ci image' (#219) from fix/renovate-lock-python-pin into main
Build / build (push) Successful in 14s
Images / image (Dockerfile, ubuntu:24.04@sha256:2198e4c65076e9cb0b3d695219df667c0e3b0072da64ca3c2648aca17dcecaf5, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.7) (push) Successful in 10s
Lint / lint (push) Successful in 38s
Molecule / molecule (push) Successful in 9m12s
Images / image (Dockerfile, ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.4) (push) Successful in 9s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96, ci, , 0.2.26) (push) Failing after 4m9s
Reviewed-on: #219
2026-11-16 07:58:42 +00:00
Defame1297 47922740e0 Merge branch 'main' into fix/renovate-lock-python-pin
Build / build (pull_request) Successful in 13s
Molecule / molecule (pull_request) Successful in 11m24s
Lint / lint (pull_request) Successful in 39s
2026-11-16 07:46:17 +00:00
kamino-renovate Bot 3dd3c765f1 Merge pull request 'chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.25' (#218) from renovate/git.rkdr.net-mortis-ci-0.x into main
Build / build (push) Successful in 16s
Lint / lint (push) Successful in 35s
2026-11-16 07:43:48 +00:00
Defame1297andClaude Sonnet 5.5 b0607a39e2 ci(python): one Python (3.14) for the lock, a clone and the ci image
Build / build (pull_request) Successful in 14s
Molecule / molecule (pull_request) Canceled after 0s
Lint / lint (pull_request) Canceled after 56s
.python-version (3.14) is the source. dev-setup.sh and lock-requirements.sh
require exactly that minor; the ci image builds /opt/venv from its baked
python-build-standalone of that version (ARG PYTHON_VERSION) instead of the
distribution's python3, and derives the python<MINOR> links for
ansible-test from it; `check_image_versions.py pins` fails when
.python-version, the lock header or an `ARG PYTHON_VERSION` differs.
The lock already carries the 3.14 header (Renovate's -full container runs
pip-compile on its own python 3.14.8); renovate.yml now says that python's
minor version must equal .python-version. ci image 0.2.25 -> 0.2.26.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-16 07:42:45 +00:00
renovate-bot ac7d0926d6 chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.25
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 36s
Lint / lint (pull_request) Successful in 36s
Molecule / molecule (pull_request) Successful in 3s
2026-11-16 07:42:21 +00:00
Defame1297 3a777ac015 Merge pull request 'chore(deps): refresh pip-compile outputs' (#203) from renovate/pip-compile-refresh into main
Build / build (push) Successful in 13s
Images / image (Dockerfile, ubuntu:24.04@sha256:2198e4c65076e9cb0b3d695219df667c0e3b0072da64ca3c2648aca17dcecaf5, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.7) (push) Successful in 10s
Lint / lint (push) Successful in 40s
Images / image (Dockerfile, ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.4) (push) Successful in 10s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96, ci, , 0.2.25) (push) Successful in 3m39s
Reviewed-on: #203
2026-11-16 07:25:04 +00:00
Defame1297 5e0e765026 Merge branch 'main' into renovate/pip-compile-refresh
Build / build (pull_request) Successful in 13s
Molecule / molecule (pull_request) Successful in 2s
Lint / lint (pull_request) Successful in 43s
2026-11-16 07:23:04 +00:00
kamino-renovate Bot e04e046d65 Merge pull request 'chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.24' (#217) from renovate/git.rkdr.net-mortis-ci-0.x into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 32s
2026-11-16 07:22:49 +00:00
renovate-bot 9a775ea755 chore(deps): refresh pip-compile outputs
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 14s
Molecule / molecule (pull_request) Canceled after 0s
Lint / lint (pull_request) Canceled after 13s
2026-11-16 07:21:32 +00:00
renovate-bot 31700eb6bb chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.24
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 33s
Lint / lint (pull_request) Successful in 32s
Molecule / molecule (pull_request) Successful in 2s
2026-11-16 07:20:50 +00:00
Defame1297 6e027e7c4b Merge pull request 'fix(renovate): run the image bump task on every branch' (#216) from fix/renovate-postupgrade-toplevel into main
Build / build (push) Successful in 13s
Lint / lint (push) Successful in 31s
Reviewed-on: #216
2026-11-16 07:19:48 +00:00
Defame1297andClaude Sonnet 5.5 bbb4f1f888 fix(renovate): run the image bump task on every branch
Build / build (pull_request) Successful in 15s
Lint / lint (pull_request) Successful in 39s
Molecule / molecule (pull_request) Successful in 2s
The postUpgradeTasks lived in a packageRule matching package "*". Branch
renovate/pip-compile-refresh (a lock regeneration, no package upgrade) did not
get the task, so its requirements-dev.lock change reached the lint check
without the ci image version bump and failed `check_image_versions.py bump`.
A top-level postUpgradeTasks applies to every branch.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-16 07:13:53 +00:00
kamino-renovate Bot d774760d2a Merge pull request 'chore(deps): update dependency uv to v0.13.8' (#202) from renovate/uv-0.x into main
Build / build (push) Successful in 12s
Images / image (Dockerfile, ubuntu:24.04@sha256:2198e4c65076e9cb0b3d695219df667c0e3b0072da64ca3c2648aca17dcecaf5, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.7) (push) Successful in 8s
Lint / lint (push) Successful in 30s
Images / image (Dockerfile, ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.4) (push) Successful in 10s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96, ci, , 0.2.24) (push) Successful in 3m55s
2026-11-16 03:20:22 +00:00
renovate-bot b58b7f0ce3 chore(deps): update dependency uv to v0.13.8
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 31s
Molecule / molecule (pull_request) Successful in 2s
2026-11-16 03:19:00 +00:00
Claude 06db01f8c2 Merge pull request 'chore(release): 1.6.0' (#201) from chore/release-1.6.0 into main
Lint / lint (push) Successful in 30s
Molecule / molecule (push) Successful in 8m59s
Build / build (push) Successful in 11s
v1.6.0
2026-11-15 23:03:31 +00:00
Defame1297andClaude Opus 5.5 bc86c2db9f chore(release): 1.6.0
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 29s
Molecule / molecule (pull_request) Successful in 9m1s
Adds the sshd role. ufw base rules can delete a rule (delete: true), so
an open rule can be replaced by narrower ones, and fail2ban gains
fail2ban_ignoreip. Existing behaviour is unchanged unless the new
options are used.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-15 22:44:55 +00:00
Defame1297 a4e80c1864 Merge pull request 'feat(ufw): let ufw_rules entries delete a rule' (#200) from feat/ufw-rule-delete into main
Build / build (push) Successful in 11s
Lint / lint (push) Successful in 29s
Molecule / molecule (push) Successful in 9m1s
Reviewed-on: #200
2026-11-15 22:44:04 +00:00
Defame1297 14a9a72ea2 Merge branch 'main' into feat/ufw-rule-delete
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 30s
Molecule / molecule (pull_request) Successful in 2m38s
2026-11-15 22:31:04 +00:00
Defame1297 8ab8b72ac1 Merge pull request 'feat(sshd): add the sshd role' (#199) from feat/sshd-role into main
Build / build (push) Successful in 11s
Lint / lint (push) Successful in 29s
Molecule / molecule (push) Successful in 8m57s
Reviewed-on: #199
2026-11-15 22:30:57 +00:00
Defame1297andClaude Opus 5.5 9d7625f529 docs(sshd): apply review notes to the argument spec and README
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 31s
Molecule / molecule (pull_request) Successful in 35s
The main entry's description now lists all four refusals (the pve
rsa-sha2-512 guard and the ssh-rsa guard were missing, already in the
source). The README no longer names user_management as if it were a role
of this Collection, and says the scenario runs in the Collection's CI
rather than only on pull requests.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-15 22:25:50 +00:00
Defame1297andClaude Opus 5.5 43bb2ce8dc fix(ufw): normalise the conflict check and send deletes without a comment
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 28s
Molecule / molecule (pull_request) Canceled after 1m25s
Review findings on the delete support:

- The both-added-and-deleted check compared the written fields, so
  direction: in or from: any on the added rule hid a conflict that ufw
  sees (it stores no direction as in and no address as any); the delete
  then removed the SSH rule the lock-out guard had counted. Fields are now
  normalised as ufw stores them (incoming/outgoing as in/out too). A
  missing proto stays distinct from tcp, as in ufw.
- A delete sent with a comment that differs from the stored one matches
  nothing in ufw and exits 0, so the rule stayed silently. Deletes are now
  sent without their comment; ufw then matches the rule whatever its
  comment. The scenario's delete entry carries a different comment to
  cover it, and the conflict refusal uses the explicit defaults.
- README: a delete without an address removes the IPv4 and IPv6 rules,
  an IPv4 from allows IPv4 only.
- verify searches 9091/tcp, not a bare 9091 that an owner tag could hold.

Verified locally in check mode against localhost: both bypass lists and
an incoming/outgoing spelling are refused; the planned replacement list
and a no-proto add with a tcp delete pass.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-15 22:24:55 +00:00
Defame1297andClaude Opus 5.5 10a620a2d9 feat(ufw): let ufw_rules entries delete a rule
An entry with delete: true (a boolean) removes the rule it describes,
passed to community.general.ufw's delete option. It lets a consumer
replace a base rule, such as an open SSH allow by narrower ones, which
the role could only add before.

- rules.yml applies the delete entries after every other rule, whatever
  their place in the list, so the replacement exists before the old rule
  goes.
- validate.yml: the schema check requires a boolean; a new check refuses
  a rule the list both adds and deletes (compared without the comment,
  port as a string), because the delete would win while the lock-out
  guard counted the add; the lock-out guard no longer counts a delete
  entry.
- service_rules keeps its own key list and does not accept delete.

Molecule: prepare stores a commented 9091 rule that the base list deletes
with an uncommented entry listed first; verify checks it is gone and the
untagged count is unchanged; the idempotence pass covers deleting a rule
that is gone. Two new refusals: an SSH rule that is only deleted (lock-out
guard) and a rule both added and deleted.

Verified locally: validate.yml against localhost in check mode (the
planned replacement list passes; the conflict, the delete-only SSH list
and a non-boolean delete are refused) and the apply order. Not verified
locally: the molecule scenario (CI only), including whether ufw matches
the commented rule from an uncommented delete.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-15 22:12:16 +00:00
Defame1297andClaude Opus 5.5 915f588533 feat(sshd): add the sshd role
Copied from the environment repository's local role. The files are
identical except: galaxy namespace mortis; comments, the README and the
guard failure messages scrubbed of environment references (issue numbers,
playbooks, inventory groups, the caller role's fallback, history of the
old vars/ files and of the variable renames), with the technical
explanation kept; the README's run order now asks for the ansible_user key
to be installed first instead of naming the environment's playbooks; the
molecule scenario calls the role by its FQCN (mortis.kamino.sshd), follows
the Kamino scenario conventions (kamino-molecule header,
scenario.test_sequence) and no longer sets ANSIBLE_COLLECTIONS_PATH or
ANSIBLE_ROLES_PATH. No variable, default, argument_specs type or task
logic changed; the test coverage is the same. The role uses
ansible.builtin only, so galaxy.yml's dependencies are unchanged.

The README Roadmap no longer lists sshd.

Not verified locally: the molecule scenario (it runs on the
kamino-molecule runner in CI) and ansible-test sanity (runs on push).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-15 22:08:10 +00:00
Defame1297 cb50e6f9a6 Merge pull request 'docs: define trusted contributor, friend and outsider in the glossary' (#180) from docs/glossary-contributor-positions into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 28s
Reviewed-on: #180
2026-11-15 19:01:18 +00:00
Defame1297 edb8e678f3 docs: define trusted contributor, friend and outsider in the glossary
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 29s
Molecule / molecule (pull_request) Successful in 2s
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
2026-11-15 18:59:51 +00:00
Defame1297 faf449c9b2 Merge pull request 'feat(fail2ban): add fail2ban_ignoreip to exempt trusted addresses' (#156) from feat/fail2ban-ignoreip into main
Build / build (push) Successful in 14s
Lint / lint (push) Successful in 28s
Molecule / molecule (push) Successful in 8m22s
Reviewed-on: #156
2026-11-15 17:31:40 +00:00
Dragonish 9dcb933bf9 test(fail2ban): match the validation message in the ignoreip rejection cases
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 28s
Molecule / molecule (pull_request) Successful in 1m2s
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
2026-11-15 13:35:14 +00:00
Dragonish 0703ab85dc Merge remote-tracking branch 'origin/feat/fail2ban-ignoreip' into feat/fail2ban-ignoreip 2026-11-15 13:33:44 +00:00
Defame1297 9f0e0bda85 Merge branch 'main' into feat/fail2ban-ignoreip
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 26s
Molecule / molecule (pull_request) Successful in 51s
2026-11-15 13:26:55 +00:00
Defame1297 967fb34e5b Merge pull request 'docs: note that 1.5.0 added no role' (#163) from docs/claude-md-release-state into main
Build / build (push) Successful in 11s
Lint / lint (push) Successful in 25s
Reviewed-on: #163
2026-11-15 13:26:50 +00:00
Defame1297andClaude Sonnet 5.5 19343d8e54 docs: note that 1.5.0 added no role
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 26s
Molecule / molecule (pull_request) Successful in 1s
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-15 13:25:25 +00:00
Dragonish 2b994363d7 fix(fail2ban): refuse a scalar or non-string fail2ban_ignoreip
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
2026-11-15 13:20:43 +00:00
Defame1297 d77b3778cd Merge branch 'main' into feat/fail2ban-ignoreip
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Successful in 25s
Molecule / molecule (pull_request) Successful in 51s
2026-11-15 12:39:51 +00:00
Defame1297 c17a328f0b Merge pull request 'docs: list the roles still to be extracted' (#162) from docs/roadmap-remaining-roles into main
Build / build (push) Successful in 11s
Lint / lint (push) Successful in 25s
Reviewed-on: #162
2026-11-15 12:39:47 +00:00
Defame1297andClaude Sonnet 5.5 3b47066fa3 docs: list the roles still to be extracted
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 25s
Molecule / molecule (pull_request) Successful in 1s
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-15 12:38:22 +00:00
DragonishandClaude Sonnet 5.5 57b15df1ac feat(fail2ban): add fail2ban_ignoreip to exempt trusted addresses
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 26s
Molecule / molecule (pull_request) Successful in 52s
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
2026-11-15 11:55:17 +00:00
Defame1297 263d892634 Merge pull request 'ci(deps): raise Renovate's hourly PR limit to 5' (#154) from chore/renovate-pr-hourly-limit into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 26s
Reviewed-on: #154
2026-11-15 10:39:49 +00:00
Defame1297 ac16d65968 Merge branch 'main' into chore/renovate-pr-hourly-limit
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 26s
Molecule / molecule (pull_request) Successful in 2s
2026-11-15 10:30:29 +00:00
Defame1297 bbac1b4896 Merge pull request 'chore(release): 1.5.0' (#150) from chore/release-1.5.0 into main
Lint / lint (push) Successful in 24s
Molecule / molecule (push) Successful in 8m4s
Build / build (push) Successful in 16s
Reviewed-on: #150
v1.5.0
2026-11-15 10:30:25 +00:00
Defame1297 4c025f2ad9 Merge branch 'main' into chore/release-1.5.0
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Successful in 26s
Molecule / molecule (pull_request) Successful in 8m10s
2026-11-15 10:11:07 +00:00
Defame1297andClaude Sonnet 5.5 5d2969c7e5 ci(deps): raise Renovate's hourly PR limit to 5
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Successful in 26s
Molecule / molecule (pull_request) Successful in 1s
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
2026-11-15 10:05:49 +00:00