31 Commits
Author SHA1 Message Date
Defame1297 2ecf7f8765 chore(release): 2.0.0
Build / build (pull_request) Successful in 15s
Lint / lint (pull_request) Successful in 1m7s
Molecule / molecule (pull_request) Successful in 3s
Major release: raises the ansible-core floor to 2.22 and removes the
gitea_runner molecule tooling inputs. Also new docker, fail2ban,
gitea_runner and system_baseline features and a system_baseline
check-mode fix.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-24 16:43:45 +00:00
Defame1297 90928cdfc0 docs: name only the roles that ship and drop their licence leftovers
Name the roles under roles/ in the README intro and the Galaxy
description, and drop the NOTICE and REUSE.toml entries and licence texts
(Apache-2.0, EUPL-1.2, MIT) of roles that are not in the Collection. The
reuse_lint.py wrapper only tolerated those unused texts, so the hook runs
plain `reuse lint`. The GPL-3.0-only reason is ufw's before.rules.j2.

Remove HANDOFF.md and .reuse from build_ignore (neither has existed) and
correct the galaxy.yml comment on dependency bounds.

Part of #164

Assisted-by: Claude Code
2026-11-24 12:46:28 +00:00
Defame1297 a0a871e3f9 docs(readme): drop the private-repository reference from the roadmap
Build / build (pull_request) Successful in 17s
Lint / lint (pull_request) Successful in 1m54s
Molecule / molecule (pull_request) Successful in 1s
The public-place rule bars naming another of the maintainer's
repositories, its issues or its decisions; the roadmap stands alone
without them.

Assisted-by: Claude Code
2026-11-23 17:12:24 +00:00
Defame1297 10c14898f2 Merge branch 'main' into docs/215-glossary-control
Lint / lint (pull_request) Successful in 1m24s
Molecule / molecule (pull_request) Successful in 2s
Build / build (pull_request) Successful in 18s
2026-11-23 16:54:47 +00:00
Defame1297 a052713aa1 docs(glossary): widen control and define review, aspirational, scheduled merge and the role terms
Lint / lint (pull_request) Canceled after 0s
Molecule / molecule (pull_request) Canceled after 0s
Build / build (pull_request) Canceled after 21s
The held-by lines in AGENTS.md and the contributor docs hold rules by a control,
by review or aspirationally, and SECURITY.md's Accepted risks count repository
settings such as branch protection and code-owner approval, but the glossary
defined only control and limited it to hooks and CI jobs. Define all three, the
merge and role terms, and replace the avoided gate, guard and enforce wording.

Assisted-by: Claude Code
2026-11-23 16:40:54 +00:00
Defame1297 282c010167 chore(release): 1.11.0
Build / build (pull_request) Successful in 17s
Lint / lint (pull_request) Successful in 1m29s
Molecule / molecule (pull_request) Successful in 13m21s
Minor release that adds the cloudflared role (#316).

Assisted-by: Claude Code:claude-opus-5-5
2026-11-23 16:03:41 +00:00
Defame1297 d73b5b03dd docs(readme): add cloudflared to the _binary_update callers
The role is in the Collection now, so it leaves the wave 2 Roadmap
line, and the status line names it as an unreleased caller of the
internal _binary_update role.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-23 14:22:22 +00:00
Dragonish 4bc176656a chore(release): 1.10.2
Build / build (pull_request) Successful in 16s
Lint / lint (pull_request) Successful in 1m17s
Molecule / molecule (pull_request) Successful in 11m54s
Patch release for the systemd_hardening socket handling (#308, #314).

Assisted-by: Claude Code
2026-11-23 12:33:35 +00:00
Dragonish 0a9ea21f77 chore(release): 1.10.1
Build / build (pull_request) Successful in 19s
Lint / lint (pull_request) Successful in 1m4s
Molecule / molecule (pull_request) Canceled after 7m2s
Patch release for the systemd_hardening unit lookup (#283, #298).

Assisted-by: Claude Code
2026-11-23 07:52:58 +00:00
Defame1297andClaude Opus 5.5 1b7517ef0d chore(release): 1.10.0
Build / build (pull_request) Successful in 15s
Lint / lint (pull_request) Successful in 57s
Molecule / molecule (pull_request) Successful in 19m28s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-22 17:29:51 +00:00
Defame1297andClaude Opus 5.5 e296eea609 feat(gitea_runner): add the gitea_runner role
Build / build (pull_request) Successful in 15s
Lint / lint (pull_request) Successful in 50s
Molecule / molecule (pull_request) Failing after 1m10s
Copied from the maintainer's local role and reworked for the Collection:
the binary swap and rollback of an update go through the internal
_binary_update role, input checks move to tasks/validate.yml, the
removal ends the role, commands take argv, and the molecule tooling
needs an explicit collections requirements file. Adds a molecule
scenario with stub Docker, runner and release files.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-22 16:26:49 +00:00
Defame1297andClaude Opus 5.5 1370cb2bdc chore(release): 1.9.0
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 44s
Molecule / molecule (pull_request) Successful in 17m2s
Adds the gitea role, the second role of wave 2 and the second caller of the
internal _binary_update role. Existing roles are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-21 22:45:27 +00:00
Defame1297andClaude Opus 5.5 f060461152 feat(gitea): add the gitea role
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Failing after 43s
Molecule / molecule (pull_request) Successful in 1m20s
Moves the gitea role from the environment repository, the second wave 2 role and the
second caller of the internal _binary_update role.

Against the source:
- The update path stages the downloaded, signature-verified binary in a directory next to
  the live one and hands the stop, backup, swap, restart, version check and rollback to
  mortis.kamino._binary_update (include_role with apply tags, so --tags update reaches
  it). A download or signature failure still leaves the running service untouched and
  says so; a failure in the swap keeps the rollback message of _binary_update. Its default
  version regex is the one the source used.
- The same two small behaviour changes as for traefik come with _binary_update: the backup
  is taken whenever a live binary exists, and a failure before the stop no longer
  restarts the running service.
- The update no longer removes a PID file between the stop and the start, and
  gitea_pid_file is gone: the unit runs `gitea web` without --pid and has no PIDFile=,
  so Gitea writes no PID file and systemd reads none.
- The database-migration warning of the source's rollback message (the previous binary
  may refuse a migrated schema) moves to the gitea_update docs in the README and the
  argument_specs, since _binary_update owns the failure message.
- The legacy name guard (pre-rename variables of the environment) is dropped, as in the
  wave 1 roles, and the argument_specs and README no longer mention it. The jwt secret,
  mailer and e-mail confirmation asserts stay.
- Environment references are gone from comments, app.ini.j2, the README and the
  argument_specs: issue numbers, decision records, host names, inventory paths,
  playbooks, the network and proxy layout and other roles' copies of the paths. The
  Renovate comment on gitea_version is dropped; the README and argument_specs recommend
  pinning the version in inventory. The mint messages no longer name a playbook.
- On a fresh host the token assert and the SSH-key upload ran before the unit was
  written and Gitea started, so a first install could never complete. Both now run after
  the service check, and the upload first waits (up to 60 s, not under --check) for the
  local listener; the listener address is resolved once for both.
- REVERSE_PROXY_LIMIT, hard-coded to 2, is now gitea_reverse_proxy_limit with default 1:
  a limit above the real number of proxies lets a client forge the address Gitea logs and
  Fail2Ban bans. A setup with two proxies sets it to 2.
- The gitea commands with user-supplied values (migrate, admin user list and create, and
  the token mint) take argv instead of a command string; still run through sudo -u.
- gitea_version is asserted at role start to be a plain X.Y.Z, with no leading v.
- meta namespace mortis; the scenario follows the Kamino conventions (header,
  test_sequence, no provisioner env) and calls the role by FQCN, also in the child
  ansible-playbook of the mint CI-guard cases. Coverage is unchanged.

No other default changed; DISABLE_REGISTRATION stays hard-coded to true.

Changelog fragment, README Roadmap and the CLAUDE.md role list updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-21 21:53:20 +00:00
Defame1297andClaude Opus 5.5 3ad72d78b3 chore(release): 1.8.0
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 56s
Molecule / molecule (pull_request) Successful in 14m55s
Adds the traefik role, the first role of wave 2, and the internal _binary_update role
it uses to swap in a new release with rollback (not part of the public API). The
trivial README and comment fixes of the wave 1 scrub ship here too. Existing roles are
unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-20 19:40:12 +00:00
Defame1297andClaude Opus 5.5 589b71a312 feat(traefik): add the traefik role
Build / build (pull_request) Successful in 15s
Lint / lint (pull_request) Successful in 1m32s
Molecule / molecule (pull_request) Successful in 3m38s
Moves the traefik role from the environment repository, the first wave 2 role and the
first caller of the internal _binary_update role.

Against the source:
- The update path stages the downloaded, checksum-verified binary in a directory next to
  the live one and hands the stop, backup, swap, restart, version check and rollback to
  mortis.kamino._binary_update (include_role with apply tags, so --tags update reaches
  it). A download or checksum failure still leaves the running service untouched and
  says so; a failure in the swap keeps the rollback message of _binary_update.
- Two small behaviour changes come with _binary_update: the backup is taken whenever a
  live binary exists (the source skipped it when the binary reported no version), and a
  failure before the stop no longer restarts the running service.
- The legacy name guards (pre-rename variables of the environment) are dropped, as in
  the wave 1 roles, and the argument_specs and README no longer mention them.
- Environment references are gone from comments, the README and the argument_specs:
  issue numbers, host names, inventory paths, playbooks and the role's own history. The
  Renovate comment on traefik_version is dropped, since this repository has no manager
  for it; the README and argument_specs recommend pinning the version in inventory.
- meta namespace mortis; the scenario follows the Kamino conventions (header,
  test_sequence, no provisioner env) and calls the role by FQCN.
- The scenario's verify gains a real version bump: down to another release (v3.7.18)
  and back to the role default with traefik_update, asserting the version, an active
  unit and no staging directory, backup or download left behind.

Changelog fragment, README Roadmap and the CLAUDE.md role list updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-20 19:20:37 +00:00
Defame1297andClaude Opus 5.5 f4965db6f3 feat(_binary_update): add the internal binary update role
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 1m17s
Molecule / molecule (pull_request) Successful in 11m34s
Swaps a staged, verified binary into place for a systemd service: refuse when nothing
executable is staged, then reload, stop and wait, back up the live binary, rename the
staged file over it, start and wait for active, and compare the reported version. A
failure after the stop restores this run's backup, starts the service again and fails
with a message that says whether the restore and the restart worked. Under --check the
waits and the version check are skipped, so a preview against a stopped service does
not fall into the rollback. The staged file is removed in every case.

The role is internal (ADR 0004 in the environment repository): called only by roles of
this Collection by FQCN, outside the public API, marked by the underscore, [INTERNAL]
in its meta and argument_specs, and a first task that refuses a call without a parent
role. traefik is its first caller and arrives in the same release.

Two molecule scenarios use stub binaries under a stub unit, without network: default
(successful bump and idempotence, a binary that cannot start, a binary that reports the
wrong version, nothing staged, a direct call, a first install) and check_mode (the bump
under molecule check against a stopped service changes nothing).

Lint: role-name is skipped (its regex rejects the leading underscore, as for
prometheus.prometheus roles/_common), meta has no role_name (schema[meta] uses the same
regex and cannot be skipped), and .ansible-lint-ignore lists the role's own files for
var-naming[no-role-prefix], which strips the underscore from the variable but not from
the role name and so cannot pass. The ignore file is kept out of the Collection build
and is on the scenario picker's IGNORED list. The README Roadmap no longer lists the role.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-20 19:00:19 +00:00
Defame1297andClaude Opus 5.5 76886fa5d5 docs(readme): list the shared binary update as internal role _binary_update
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 34s
Molecule / molecule (pull_request) Successful in 1s
The Roadmap now names the wave 2 helper `_binary_update`: an internal
role called only by Collection roles, outside the semver promise, that
ships with the traefik extraction (ADR 0004 amendment, review in the
environment repository's #365).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-17 17:06:38 +00:00
Defame1297andClaude Opus 5.5 09cc4c7a5c chore(release): 1.7.0
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 32s
Molecule / molecule (pull_request) Successful in 11m35s
Adds the user_management role, which completes wave 1. Its root fallback
refuses to run when the primary user's name is not ansible_user. Existing
roles are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-16 17:44:18 +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
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
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
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
Defame1297andClaude Opus 5.5 ef78484bcc chore(release): 1.5.0
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Successful in 36s
Molecule / molecule (pull_request) Successful in 8m10s
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
2026-11-15 09:19:04 +00:00
Defame1297andClaude Opus 5.5 d4f4d748a4 chore(release): 1.4.0
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 24s
Molecule / molecule (pull_request) Successful in 8m7s
Adds the ufw role (main, service_rules and orphan_rules entry points),
copied from the environment repository's role with unchanged
behaviour. Existing roles are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-14 18:31:16 +00:00
Defame1297andClaude Opus 5.5 48350404c5 chore(release): 1.3.0
Adds the system_baseline role and declares community.general and
ansible.posix as dependencies.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-14 10:42:22 +00:00
Defame1297andClaude Opus 5.5 9c705a7f93 fix(system_baseline): declare dependencies and correct the review findings
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Failing after 14s
Molecule / molecule (pull_request) Successful in 6m21s
- galaxy.yml declares community.general and ansible.posix: system_baseline is
  the first role that calls modules outside ansible.builtin, and a consumer
  that installs only this Collection failed to parse the play.
- The README override example set Automatic-Reboot to false, which every
  profile already defaults to; it now shows the opt-in.
- Comment and description wording.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-14 10:26:59 +00:00
Defame1297andClaude Sonnet 5.5 de68aadf9b chore(release): 1.2.0
Build / build (pull_request) Successful in 9s
Lint / lint (pull_request) Successful in 17s
Molecule / molecule (pull_request) Successful in 4m38s
Adds the network_interfaces and systemd_hardening roles. Version bump in
galaxy.yml, the changelog built by antsibull-changelog release, README pin
example and status text, CLAUDE.md.

Verified: the commit hooks. Not verified: ansible-test sanity and the
importer (CI). The tag is the maintainer's.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-10 18:16:40 +00:00
Defame1297andClaude Sonnet 5.5 ad9b07e399 chore(release): 1.1.0
Build / build (pull_request) Successful in 21s
Lint / lint (pull_request) Successful in 17s
Molecule / molecule (pull_request) Successful in 3m13s
Adds the fail2ban role. Version bump in galaxy.yml, the changelog built by
antsibull-changelog release, README pin example and status text, CLAUDE.md.

Verified: the commit hooks. Not verified: ansible-test sanity and the
importer (CI). The tag is the maintainer's.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-08 21:29:32 +00:00
Defame1297andClaude Sonnet 5.5 562ed76bfc chore(release): 1.0.0
Build / build (pull_request) Successful in 22s
Lint / lint (pull_request) Successful in 15s
Molecule / molecule (pull_request) Successful in 2m18s
First release, holding the docker role. Version bump in galaxy.yml, the
changelog built by antsibull-changelog release, README and CLAUDE.md no
longer say there are no roles, CHANGELOG.rst is allowed in the archive
(scripts/check_tarball.py) and the generated changelog.yaml is exempt from
yamllint like changelogs/config.yaml.

Verified: the commit hooks; the tarball script's unit tests; a local
ansible-galaxy build of 1.0.0 passes scripts/check_tarball.py. Not verified:
ansible-test sanity and the importer (CI). The tag is the maintainer's.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-08 19:23:44 +00:00
Defame1297andClaude Sonnet 5.5 3869718450 docs: correct the fork pull request policy and add maintainer setup
Build / build (pull_request) Successful in 50s
Lint / lint (pull_request) Successful in 1m26s
State the real Gitea approval rule for fork pull requests, require a
REUSE.toml annotation for third-party material, describe the release
changelog files, and list the repository settings the workflows cannot
enforce (protected v* tags, protected main, the package push credential).
Drop the references to the private environment repository.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-24 21:10:20 +00:00
Defame1297andClaude Sonnet 5.5 c794d3133a feat: add the empty mortis.kamino collection skeleton
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-24 21:10:20 +00:00