From 48350404c5399a14e935141f302cc8a5b9e7b507 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sat, 14 Nov 2026 10:42:22 +0000 Subject: [PATCH 1/2] 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 Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm --- CHANGELOG.rst | 9 +++++++++ CLAUDE.md | 2 +- README.md | 4 ++-- changelogs/.plugin-cache.yaml | 6 +++++- changelogs/changelog.yaml | 16 ++++++++++++++++ changelogs/fragments/system-baseline-role.yml | 9 --------- galaxy.yml | 2 +- 7 files changed, 34 insertions(+), 14 deletions(-) delete mode 100644 changelogs/fragments/system-baseline-role.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b772859..6918e80 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,15 @@ mortis.kamino Release Notes .. contents:: Topics +v1.3.0 +====== + +Minor Changes +------------- + +- galaxy.yml - Declare ``community.general`` (>=14.0.0) and ``ansible.posix`` (>=2.2.0) as dependencies, needed by ``system_baseline``. ``ansible-galaxy`` now installs them with the Collection unless the consumer's requirements already pin a satisfying version. +- system_baseline - New role. Applies a per-system-type OS baseline (apt upgrade, package install and removal, unattended-upgrades, locale, timezone, journal size cap, sysctl hardening, tmpfs mounts and an optional reboot). Besides ``main``, the ``update`` and ``reboot`` task files are supported entry points for callers that drive their own reboot; ``reboot`` sets the ``system_baseline_reboot_required`` fact. + v1.2.0 ====== diff --git a/CLAUDE.md b/CLAUDE.md index 9529f35..aa9747d 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. +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. Fork pull requests from untrusted users are not accepted for now: a fork controls its own workflow file, so the `if:` guards are a convenience, not a boundary (see the header of diff --git a/README.md b/README.md index 467af82..2ceb710 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.2.0 holds the `docker`, `fail2ban`, `network_interfaces` and `systemd_hardening` roles. +Status: roles arrive in waves. Release 1.3.0 holds the `docker`, `fail2ban`, `network_interfaces`, `system_baseline` and `systemd_hardening` roles. ## Consuming @@ -16,7 +16,7 @@ name (FQCN) only, `mortis.kamino.`: collections: - name: https://git.rkdr.net/mortis/kamino.git type: git - version: v1.2.0 + version: v1.3.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 de7af2e..1c59b69 100644 --- a/changelogs/.plugin-cache.yaml +++ b/changelogs/.plugin-cache.yaml @@ -12,6 +12,10 @@ objects: description: Manage /etc/network/interfaces name: network_interfaces version_added: null + system_baseline: + description: Apply the OS baseline for a system type + name: system_baseline + version_added: null systemd_hardening: description: Harden systemd for a system type name: systemd_hardening @@ -32,4 +36,4 @@ plugins: strategy: {} test: {} vars: {} -version: 1.2.0 +version: 1.3.0 diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index ae0d1f2..8ea86c9 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -53,3 +53,19 @@ releases: fragments: - systemd-hardening-network-interfaces-roles.yml release_date: '2026-11-10' + 1.3.0: + changes: + minor_changes: + - galaxy.yml - Declare ``community.general`` (>=14.0.0) and ``ansible.posix`` + (>=2.2.0) as dependencies, needed by ``system_baseline``. ``ansible-galaxy`` + now installs them with the Collection unless the consumer's requirements already + pin a satisfying version. + - system_baseline - New role. Applies a per-system-type OS baseline (apt upgrade, + package install and removal, unattended-upgrades, locale, timezone, journal + size cap, sysctl hardening, tmpfs mounts and an optional reboot). Besides + ``main``, the ``update`` and ``reboot`` task files are supported entry points + for callers that drive their own reboot; ``reboot`` sets the ``system_baseline_reboot_required`` + fact. + fragments: + - system-baseline-role.yml + release_date: '2026-11-14' diff --git a/changelogs/fragments/system-baseline-role.yml b/changelogs/fragments/system-baseline-role.yml deleted file mode 100644 index 2ee195a..0000000 --- a/changelogs/fragments/system-baseline-role.yml +++ /dev/null @@ -1,9 +0,0 @@ -minor_changes: - - system_baseline - New role. Applies a per-system-type OS baseline (apt upgrade, package install - and removal, unattended-upgrades, locale, timezone, journal size cap, sysctl hardening, tmpfs - mounts and an optional reboot). Besides ``main``, the ``update`` and ``reboot`` task files are - supported entry points for callers that drive their own reboot; ``reboot`` sets the - ``system_baseline_reboot_required`` fact. - - galaxy.yml - Declare ``community.general`` (>=14.0.0) and ``ansible.posix`` (>=2.2.0) as - dependencies, needed by ``system_baseline``. ``ansible-galaxy`` now installs them with the - Collection unless the consumer's requirements already pin a satisfying version. diff --git a/galaxy.yml b/galaxy.yml index 0b8a3db..10f4e60 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: mortis name: kamino -version: 1.2.0 +version: 1.3.0 readme: README.md authors: - Defame1297 -- 2.43.0 From 126e6367a3f465808151fa4977ef6645379c23f1 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sat, 14 Nov 2026 10:43:11 +0000 Subject: [PATCH 2/2] docs(changelog): add the 1.3.0 release summary CONTRIBUTING.md asks for a release_summary on every release; 1.1.0 and 1.2.0 went without one. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm --- CHANGELOG.rst | 5 +++++ changelogs/changelog.yaml | 2 ++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6918e80..de21e64 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,6 +7,11 @@ mortis.kamino Release Notes v1.3.0 ====== +Release Summary +--------------- + +Adds the system_baseline role, the first role that needs other collections; community.general and ansible.posix are now declared dependencies. + Minor Changes ------------- diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 8ea86c9..011171e 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -55,6 +55,8 @@ releases: release_date: '2026-11-10' 1.3.0: changes: + release_summary: Adds the system_baseline role, the first role that needs other + collections; community.general and ansible.posix are now declared dependencies. minor_changes: - galaxy.yml - Declare ``community.general`` (>=14.0.0) and ``ansible.posix`` (>=2.2.0) as dependencies, needed by ``system_baseline``. ``ansible-galaxy`` -- 2.43.0