From 1370cb2bdcab5427d77e89a192679d7fe8a14663 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sat, 21 Nov 2026 22:45:27 +0000 Subject: [PATCH] chore(release): 1.9.0 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 Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm --- CHANGELOG.rst | 13 +++++++++++++ CLAUDE.md | 2 +- README.md | 4 ++-- changelogs/.plugin-cache.yaml | 6 +++++- changelogs/changelog.yaml | 17 +++++++++++++++++ changelogs/fragments/gitea-role.yml | 9 --------- galaxy.yml | 2 +- 7 files changed, 39 insertions(+), 14 deletions(-) delete mode 100644 changelogs/fragments/gitea-role.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 19eb2d5..cd2383d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,19 @@ mortis.kamino Release Notes .. contents:: Topics +v1.9.0 +====== + +Release Summary +--------------- + +Adds the gitea role, the second role of wave 2 and the second caller of the internal _binary_update role. Existing roles are unchanged. + +Minor Changes +------------- + +- gitea - New role. Installs the Gitea git service as a systemd binary with a GPG-verified release (pinned signing key, throwaway keyring), renders ``app.ini`` (SQLite, loopback listener, registration disabled, optional mailer), creates the admin user and adds SSH keys through the API, opens its port through ``mortis.kamino.ufw``, deploys a Fail2Ban jail through ``mortis.kamino.fail2ban``, and removes it on request. With ``gitea_update`` it downloads and verifies a new release before stopping anything and swaps it in with rollback on failure. A separate ``mint`` entry point creates the admin API token on explicit request only. + v1.8.0 ====== diff --git a/CLAUDE.md b/CLAUDE.md index 759b535..d5da2b4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -5,7 +5,7 @@ Guidance for Claude Code (claude.ai/code) in this repository. ## What this is `mortis.kamino`: an Ansible Collection (GPL-3.0-or-later, REUSE-compliant) of reusable, -hardened roles. Roles arrive here wave by wave; `docker` is in 1.0.0, `fail2ban` in 1.1.0, `network_interfaces` and `systemd_hardening` in 1.2.0, `system_baseline` in 1.3.0, `ufw` in 1.4.0; 1.5.0 adds no role (new `system_baseline` options); `sshd` in 1.6.0; `user_management` in 1.7.0; `traefik`, with the internal `_binary_update`, in 1.8.0; `gitea` in the next release. +hardened roles. Roles arrive here wave by wave; `docker` is in 1.0.0, `fail2ban` in 1.1.0, `network_interfaces` and `systemd_hardening` in 1.2.0, `system_baseline` in 1.3.0, `ufw` in 1.4.0; 1.5.0 adds no role (new `system_baseline` options); `sshd` in 1.6.0; `user_management` in 1.7.0; `traefik`, with the internal `_binary_update`, in 1.8.0; `gitea` in 1.9.0. **Roadmap.** The roles still to come, and the ones that will never be extracted, are listed in the README section "Roadmap". Context: the maintainer's private environment repository (a diff --git a/README.md b/README.md index 09c5227..cc3be0c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ An Ansible Collection of reusable, hardened roles for a self-hosted home lab: Linux baseline, firewall, SSH, user management and, in later releases, Proxmox, Gitea and Gitea Actions runner roles. -Status: roles arrive in waves. Release 1.8.0 holds the `docker`, `fail2ban`, `network_interfaces`, `sshd`, `system_baseline`, `systemd_hardening`, `traefik`, `ufw` and `user_management` roles (and the internal `_binary_update`, which `traefik` calls; `gitea`, still unreleased, calls it too). +Status: roles arrive in waves. Release 1.9.0 holds the `docker`, `fail2ban`, `gitea`, `network_interfaces`, `sshd`, `system_baseline`, `systemd_hardening`, `traefik`, `ufw` and `user_management` roles (and the internal `_binary_update`, which `gitea` and `traefik` call). ## Consuming @@ -16,7 +16,7 @@ name (FQCN) only, `mortis.kamino.`: collections: - name: https://git.rkdr.net/mortis/kamino.git type: git - version: v1.8.0 + version: v1.9.0 ``` Its dependencies (`community.general`, `ansible.posix`) are declared in `galaxy.yml`, so diff --git a/changelogs/.plugin-cache.yaml b/changelogs/.plugin-cache.yaml index 2fa5f42..68befb3 100644 --- a/changelogs/.plugin-cache.yaml +++ b/changelogs/.plugin-cache.yaml @@ -13,6 +13,10 @@ objects: description: Install and configure Fail2Ban name: fail2ban version_added: null + gitea: + description: Install, configure, update or remove Gitea as a systemd binary + name: gitea + version_added: null network_interfaces: description: Manage /etc/network/interfaces name: network_interfaces @@ -57,4 +61,4 @@ plugins: strategy: {} test: {} vars: {} -version: 1.8.0 +version: 1.9.0 diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 254eda5..c4e2758 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -185,3 +185,20 @@ releases: - scrub-wave1-leftovers.yml - traefik-role.yml release_date: '2026-11-20' + 1.9.0: + changes: + minor_changes: + - gitea - New role. Installs the Gitea git service as a systemd binary with + a GPG-verified release (pinned signing key, throwaway keyring), renders ``app.ini`` + (SQLite, loopback listener, registration disabled, optional mailer), creates + the admin user and adds SSH keys through the API, opens its port through ``mortis.kamino.ufw``, + deploys a Fail2Ban jail through ``mortis.kamino.fail2ban``, and removes it + on request. With ``gitea_update`` it downloads and verifies a new release + before stopping anything and swaps it in with rollback on failure. A separate + ``mint`` entry point creates the admin API token on explicit request only. + release_summary: Adds the gitea role, the second role of wave 2 and the second + caller of the internal _binary_update role. Existing roles are unchanged. + fragments: + - gitea-role.yml + - release-1.9.0.yml + release_date: '2026-11-21' diff --git a/changelogs/fragments/gitea-role.yml b/changelogs/fragments/gitea-role.yml deleted file mode 100644 index c421882..0000000 --- a/changelogs/fragments/gitea-role.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -minor_changes: - - >- - gitea - New role. Installs the Gitea git service as a systemd binary with a GPG-verified release (pinned signing - key, throwaway keyring), renders ``app.ini`` (SQLite, loopback listener, registration disabled, optional mailer), - creates the admin user and adds SSH keys through the API, opens its port through ``mortis.kamino.ufw``, deploys a - Fail2Ban jail through ``mortis.kamino.fail2ban``, and removes it on request. With ``gitea_update`` it downloads and - verifies a new release before stopping anything and swaps it in with rollback on failure. A separate ``mint`` - entry point creates the admin API token on explicit request only. diff --git a/galaxy.yml b/galaxy.yml index 446e111..8020334 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: mortis name: kamino -version: 1.8.0 +version: 1.9.0 readme: README.md authors: - Defame1297