chore(release): 1.6.0 #201

Merged
Claude merged 1 commits from chore/release-1.6.0 into main 2026-11-15 23:03:32 +00:00
9 changed files with 53 additions and 25 deletions

No files matched your search

+15
View File
@@ -4,6 +4,21 @@ mortis.kamino Release Notes
.. contents:: Topics
v1.6.0
======
Release Summary
---------------
Adds the sshd role. ufw base rules can now delete a rule, 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.
Minor Changes
-------------
- fail2ban - add ``fail2ban_ignoreip``, written as ``ignoreip`` in the ``[DEFAULT]`` section of ``jail.local`` so it applies to every jail, the service jails included. The default is Fail2Ban's own (``127.0.0.1/8`` and ``::1``). The first run after upgrading adds the section and restarts Fail2Ban once.
- sshd - New role. Writes a hardened sshd drop-in selected by a profile (``pve``, ``ubuntu_lxc``, ``ubuntu_vm``), merged from a baseline, the profile and ``sshd_settings``, checked with ``sshd -t`` and reloaded through a handler. It refuses to run when the result would lock SSH out (password login off without public key login), when the ``pve`` profile does not allow root public-key login or lacks ``rsa-sha2-512`` (Proxmox VE cluster SSH needs both), and when any profile allows SHA-1 ``ssh-rsa``.
- ufw - ``ufw_rules`` entries accept ``delete`` (a boolean). An entry with ``delete: true`` removes the rule it describes, so a base rule can be replaced, for example an open SSH rule by narrower ones. Deletes are applied after every other rule of the list, a delete entry never satisfies the SSH lock-out guard, and a rule that the list both adds and deletes fails the play. ``service_rules`` does not accept the key.
v1.5.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
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).
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.
**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
+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,
Gitea and Gitea Actions runner roles.
Status: roles arrive in waves. Release 1.5.0 holds the `docker`, `fail2ban`, `network_interfaces`, `system_baseline`, `systemd_hardening` and `ufw` roles.
Status: roles arrive in waves. Release 1.6.0 holds the `docker`, `fail2ban`, `network_interfaces`, `sshd`, `system_baseline`, `systemd_hardening` and `ufw` roles.
## Consuming
@@ -16,7 +16,7 @@ name (FQCN) only, `mortis.kamino.<role>`:
collections:
- name: https://git.rkdr.net/mortis/kamino.git
type: git
version: v1.5.0
version: v1.6.0
```
Its dependencies (`community.general`, `ansible.posix`) are declared in `galaxy.yml`, so
+5 -1
View File
@@ -12,6 +12,10 @@ objects:
description: Manage /etc/network/interfaces
name: network_interfaces
version_added: null
sshd:
description: Write a hardened sshd drop-in
name: sshd
version_added: null
system_baseline:
description: Apply the OS baseline for a system type
name: system_baseline
@@ -40,4 +44,4 @@ plugins:
strategy: {}
test: {}
vars: {}
version: 1.5.0
version: 1.6.0
+29
View File
@@ -119,3 +119,32 @@ releases:
- system-baseline-tmux.yml
- system-baseline-update-toggle.yml
release_date: '2026-11-15'
1.6.0:
changes:
minor_changes:
- fail2ban - add ``fail2ban_ignoreip``, written as ``ignoreip`` in the ``[DEFAULT]``
section of ``jail.local`` so it applies to every jail, the service jails included.
The default is Fail2Ban's own (``127.0.0.1/8`` and ``::1``). The first run
after upgrading adds the section and restarts Fail2Ban once.
- sshd - New role. Writes a hardened sshd drop-in selected by a profile (``pve``,
``ubuntu_lxc``, ``ubuntu_vm``), merged from a baseline, the profile and ``sshd_settings``,
checked with ``sshd -t`` and reloaded through a handler. It refuses to run
when the result would lock SSH out (password login off without public key
login), when the ``pve`` profile does not allow root public-key login or lacks
``rsa-sha2-512`` (Proxmox VE cluster SSH needs both), and when any profile
allows SHA-1 ``ssh-rsa``.
- 'ufw - ``ufw_rules`` entries accept ``delete`` (a boolean). An entry with
``delete: true`` removes the rule it describes, so a base rule can be replaced,
for example an open SSH rule by narrower ones. Deletes are applied after every
other rule of the list, a delete entry never satisfies the SSH lock-out guard,
and a rule that the list both adds and deletes fails the play. ``service_rules``
does not accept the key.'
release_summary: Adds the sshd role. ufw base rules can now delete a rule, 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.
fragments:
- 1.6.0.yml
- fail2ban-ignoreip.yml
- sshd-role.yml
- ufw-rule-delete.yml
release_date: '2026-11-15'
@@ -1,6 +0,0 @@
---
minor_changes:
- >-
fail2ban - add ``fail2ban_ignoreip``, written as ``ignoreip`` in the ``[DEFAULT]`` section of ``jail.local`` so it applies to
every jail, the service jails included. The default is Fail2Ban's own (``127.0.0.1/8`` and ``::1``). The first run after
upgrading adds the section and restarts Fail2Ban once.
-7
View File
@@ -1,7 +0,0 @@
---
minor_changes:
- sshd - New role. Writes a hardened sshd drop-in selected by a profile (``pve``, ``ubuntu_lxc``, ``ubuntu_vm``),
merged from a baseline, the profile and ``sshd_settings``, checked with ``sshd -t`` and reloaded through a handler.
It refuses to run when the result would lock SSH out (password login off without public key login), when the
``pve`` profile does not allow root public-key login or lacks ``rsa-sha2-512`` (Proxmox VE cluster SSH needs both),
and when any profile allows SHA-1 ``ssh-rsa``.
-7
View File
@@ -1,7 +0,0 @@
---
minor_changes:
- >-
ufw - ``ufw_rules`` entries accept ``delete`` (a boolean). An entry with ``delete: true`` removes the rule it describes,
so a base rule can be replaced, for example an open SSH rule by narrower ones. Deletes are applied after every other
rule of the list, a delete entry never satisfies the SSH lock-out guard, and a rule that the list both adds and deletes
fails the play. ``service_rules`` does not accept the key.
+1 -1
View File
@@ -1,7 +1,7 @@
---
namespace: mortis
name: kamino
version: 1.5.0
version: 1.6.0
readme: README.md
authors:
- Defame1297