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
This commit is contained in:
Defame1297andClaude Opus 5.5 committed 2026-11-14 18:31:16 +00:00
1 parent 1e42d48ba9
commit d4f4d748a4
8 files changed
+41 -16

No files matched your search

+13
View File
@@ -4,6 +4,19 @@ mortis.kamino Release Notes
.. contents:: Topics .. contents:: Topics
v1.4.0
======
Release Summary
---------------
Adds the ufw role (entry points main, service_rules and orphan_rules), copied from the environment repository's role with unchanged behaviour. Existing roles are unchanged.
Minor Changes
-------------
- ufw - New role. Installs and enables UFW with default policies, base rules, ``before.rules`` and sysctl overrides, and refuses to run when the rules would lock the host out of SSH. Besides ``main``, the ``service_rules`` entry point applies a service role's own rules tagged with its name, and the ``orphan_rules`` entry point reports, and optionally deletes, the tagged rules of owners that are no longer managed.
v1.3.0 v1.3.0
====== ======
+1 -1
View File
@@ -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 `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 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. 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.
Fork pull requests from untrusted users are not accepted for now: a fork controls its own 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 workflow file, so the `if:` guards are a convenience, not a boundary (see the header of
+2 -2
View File
@@ -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, Linux baseline, firewall, SSH, user management and, in later releases, Proxmox,
Gitea and Gitea Actions runner roles. Gitea and Gitea Actions runner roles.
Status: roles arrive in waves. Release 1.3.0 holds the `docker`, `fail2ban`, `network_interfaces`, `system_baseline` and `systemd_hardening` roles. Status: roles arrive in waves. Release 1.4.0 holds the `docker`, `fail2ban`, `network_interfaces`, `system_baseline`, `systemd_hardening` and `ufw` roles.
## Consuming ## Consuming
@@ -16,7 +16,7 @@ name (FQCN) only, `mortis.kamino.<role>`:
collections: collections:
- name: https://git.rkdr.net/mortis/kamino.git - name: https://git.rkdr.net/mortis/kamino.git
type: git type: git
version: v1.3.0 version: v1.4.0
``` ```
Its dependencies (`community.general`, `ansible.posix`) are declared in `galaxy.yml`, so Its dependencies (`community.general`, `ansible.posix`) are declared in `galaxy.yml`, so
+5 -1
View File
@@ -20,6 +20,10 @@ objects:
description: Harden systemd for a system type description: Harden systemd for a system type
name: systemd_hardening name: systemd_hardening
version_added: null version_added: null
ufw:
description: Install and configure UFW
name: ufw
version_added: null
plugins: plugins:
become: {} become: {}
cache: {} cache: {}
@@ -36,4 +40,4 @@ plugins:
strategy: {} strategy: {}
test: {} test: {}
vars: {} vars: {}
version: 1.3.0 version: 1.4.0
+19 -2
View File
@@ -55,8 +55,6 @@ releases:
release_date: '2026-11-10' release_date: '2026-11-10'
1.3.0: 1.3.0:
changes: 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: minor_changes:
- galaxy.yml - Declare ``community.general`` (>=14.0.0) and ``ansible.posix`` - galaxy.yml - Declare ``community.general`` (>=14.0.0) and ``ansible.posix``
(>=2.2.0) as dependencies, needed by ``system_baseline``. ``ansible-galaxy`` (>=2.2.0) as dependencies, needed by ``system_baseline``. ``ansible-galaxy``
@@ -68,6 +66,25 @@ releases:
``main``, the ``update`` and ``reboot`` task files are supported entry points ``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`` for callers that drive their own reboot; ``reboot`` sets the ``system_baseline_reboot_required``
fact. fact.
release_summary: Adds the system_baseline role, the first role that needs other
collections; community.general and ansible.posix are now declared dependencies.
fragments: fragments:
- system-baseline-role.yml - system-baseline-role.yml
release_date: '2026-11-14' release_date: '2026-11-14'
1.4.0:
changes:
minor_changes:
- ufw - New role. Installs and enables UFW with default policies, base rules,
``before.rules`` and sysctl overrides, and refuses to run when the rules would
lock the host out of SSH. Besides ``main``, the ``service_rules`` entry point
applies a service role's own rules tagged with its name, and the ``orphan_rules``
entry point reports, and optionally deletes, the tagged rules of owners that
are no longer managed.
release_summary: Adds the ufw role (entry points main, service_rules and orphan_rules),
copied from the environment repository's role with unchanged behaviour. Existing
roles are unchanged.
fragments:
- 1.4.0.yml
- molecule-docker-gnupg.yml
- ufw-role.yml
release_date: '2026-11-14'
@@ -1,3 +0,0 @@
---
trivial:
- docker - the molecule scenario takes gnupg from the molecule image, so the README no longer lists it among what the scenario needs the Ubuntu mirrors for.
-6
View File
@@ -1,6 +0,0 @@
minor_changes:
- ufw - New role. Installs and enables UFW with default policies, base rules, ``before.rules`` and
sysctl overrides, and refuses to run when the rules would lock the host out of SSH. Besides ``main``,
the ``service_rules`` entry point applies a service role's own rules tagged with its name, and the
``orphan_rules`` entry point reports, and optionally deletes, the tagged rules of owners that are no
longer managed.
+1 -1
View File
@@ -1,7 +1,7 @@
--- ---
namespace: mortis namespace: mortis
name: kamino name: kamino
version: 1.3.0 version: 1.4.0
readme: README.md readme: README.md
authors: authors:
- Defame1297 - Defame1297