From 3ad72d78b3189cc48494c8c0b68ef10f2537b3d1 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Fri, 20 Nov 2026 19:40:12 +0000 Subject: [PATCH] chore(release): 1.8.0 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 Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm --- CHANGELOG.rst | 13 +++++++++++++ CLAUDE.md | 2 +- README.md | 4 ++-- changelogs/.plugin-cache.yaml | 11 ++++++++++- changelogs/changelog.yaml | 19 +++++++++++++++++++ changelogs/fragments/binary-update-role.yml | 5 ----- .../fragments/scrub-wave1-leftovers.yml | 4 ---- changelogs/fragments/traefik-role.yml | 8 -------- galaxy.yml | 2 +- 9 files changed, 46 insertions(+), 22 deletions(-) delete mode 100644 changelogs/fragments/binary-update-role.yml delete mode 100644 changelogs/fragments/scrub-wave1-leftovers.yml delete mode 100644 changelogs/fragments/traefik-role.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ae83c8d..19eb2d5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,19 @@ mortis.kamino Release Notes .. contents:: Topics +v1.8.0 +====== + +Release Summary +--------------- + +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 (internal: not part of the public API). The trivial README and comment fixes of the wave 1 scrub ship here too. Existing roles are unchanged. + +Minor Changes +------------- + +- traefik - New role. Installs the Traefik reverse proxy as a systemd binary with a checksum-verified release, renders its static and dynamic configuration with Cloudflare DNS-challenge certificates and an optional dashboard behind basicAuth, opens its ports through ``mortis.kamino.ufw``, and removes it on request. With ``traefik_update`` it downloads and verifies a new release before stopping anything and swaps it in with rollback on failure. + v1.7.0 ====== diff --git a/CLAUDE.md b/CLAUDE.md index d3cd791..46bddf2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,7 +6,7 @@ Guidance for Claude Code (claude.ai/code) in this repository. `mortis.kamino`: an Ansible Collection (GPL-3.0-or-later, REUSE-compliant), extracted role by role from the author's homelab environment repository. The design contract is ADR 0004 (in the -maintainer's environment repository). 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 the next release. +maintainer's environment repository). 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. **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 0f10c55..0a35bab 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.7.0 holds the `docker`, `fail2ban`, `network_interfaces`, `sshd`, `system_baseline`, `systemd_hardening`, `ufw` and `user_management` 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 only `traefik` calls). ## Consuming @@ -16,7 +16,7 @@ name (FQCN) only, `mortis.kamino.`: collections: - name: https://git.rkdr.net/mortis/kamino.git type: git - version: v1.7.0 + version: v1.8.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 0279fee..2fa5f42 100644 --- a/changelogs/.plugin-cache.yaml +++ b/changelogs/.plugin-cache.yaml @@ -1,5 +1,10 @@ objects: role: + _binary_update: + description: '[INTERNAL] Swap a staged binary into place for a systemd service, + with rollback' + name: _binary_update + version_added: null docker: description: Install, update or remove Docker Engine name: docker @@ -24,6 +29,10 @@ objects: description: Harden systemd for a system type name: systemd_hardening version_added: null + traefik: + description: Install, configure, update or remove Traefik as a systemd binary + name: traefik + version_added: null ufw: description: Install and configure UFW name: ufw @@ -48,4 +57,4 @@ plugins: strategy: {} test: {} vars: {} -version: 1.7.0 +version: 1.8.0 diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index f1208c3..254eda5 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -166,3 +166,22 @@ releases: - 1.7.0.yml - user-management-role.yml release_date: '2026-11-16' + 1.8.0: + changes: + minor_changes: + - traefik - New role. Installs the Traefik reverse proxy as a systemd binary + with a checksum-verified release, renders its static and dynamic configuration + with Cloudflare DNS-challenge certificates and an optional dashboard behind + basicAuth, opens its ports through ``mortis.kamino.ufw``, and removes it on + request. With ``traefik_update`` it downloads and verifies a new release before + stopping anything and swaps it in with rollback on failure. + release_summary: '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 (internal: + not part of the public API). The trivial README and comment fixes of the wave + 1 scrub ship here too. Existing roles are unchanged.' + fragments: + - binary-update-role.yml + - release-1.8.0.yml + - scrub-wave1-leftovers.yml + - traefik-role.yml + release_date: '2026-11-20' diff --git a/changelogs/fragments/binary-update-role.yml b/changelogs/fragments/binary-update-role.yml deleted file mode 100644 index 84e3f70..0000000 --- a/changelogs/fragments/binary-update-role.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -trivial: - - >- - _binary_update - new internal role that swaps a staged, verified binary into place for a systemd service and - rolls back on failure. Called only by roles of this Collection; not part of the public API. diff --git a/changelogs/fragments/scrub-wave1-leftovers.yml b/changelogs/fragments/scrub-wave1-leftovers.yml deleted file mode 100644 index 7ff6de1..0000000 --- a/changelogs/fragments/scrub-wave1-leftovers.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -trivial: - - fail2ban - the README example play targets a generic group name. - - systemd_hardening - a task comment no longer names a consumer playbook. diff --git a/changelogs/fragments/traefik-role.yml b/changelogs/fragments/traefik-role.yml deleted file mode 100644 index 6835c62..0000000 --- a/changelogs/fragments/traefik-role.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -minor_changes: - - >- - traefik - New role. Installs the Traefik reverse proxy as a systemd binary with a checksum-verified release, - renders its static and dynamic configuration with Cloudflare DNS-challenge certificates and an optional dashboard - behind basicAuth, opens its ports through ``mortis.kamino.ufw``, and removes it on request. With - ``traefik_update`` it downloads and verifies a new release before stopping anything and swaps it in with rollback - on failure. diff --git a/galaxy.yml b/galaxy.yml index 221f40e..a22713a 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: mortis name: kamino -version: 1.7.0 +version: 1.8.0 readme: README.md authors: - Defame1297