chore(release): 3.3.0
Minor release: adds the nfs_client and pve_vm roles, a pinned checksum for the Docker APT key, an hourly staleness window for the traefik APT refresh, and fixes ufw and fail2ban failing under --check on a host where they were not installed yet. Assisted-by: Claude Code:claude-opus-5-5
This commit is contained in:
1 parent
ceaa43c7ab
commit
3124af964c
12 files changed
+73
-53
No files matched your search
@@ -4,6 +4,23 @@ mortis.kamino Release Notes
|
|||||||
|
|
||||||
.. contents:: Topics
|
.. contents:: Topics
|
||||||
|
|
||||||
|
v3.3.0
|
||||||
|
======
|
||||||
|
|
||||||
|
Minor Changes
|
||||||
|
-------------
|
||||||
|
|
||||||
|
- docker - New input ``docker_keyring_checksum``: the Docker APT key is verified against a pinned sha256, and a changed key fails the install until a person has checked it and updated the hash. Set ``docker_keyring_checksum`` too when ``docker_gpg_url`` is overridden.
|
||||||
|
- nfs_client - New role. Installs ``nfs-common`` and manages NFS mount entries in ``/etc/fstab`` from ``nfs_client_mounts`` (``src``, ``path``, optional ``opts`` and ``state`` ``present`` or ``absent``), with ``nfs_client_default_opts`` (default ``_netdev,nofail``) for an entry that sets none. It creates each mount point without owner, group or mode, writes only the fstab line, never mounts or unmounts, and reloads systemd after a change. An ``absent`` entry loses its line and nothing else. Declares Ubuntu noble and resolute; the molecule scenario never mounts a share.
|
||||||
|
- pve_vm - New role. Clones a Proxmox VE QEMU VM from a template through the Proxmox API (``community.proxmox``), sets its cloud-init user, SSH keys and network, updates an existing VM only on detected drift, grows its boot disk, applies the power state, waits for SSH and cloud-init and (with ``pve_vm_allow_destroy``) deletes it. It never sets a cloud-init password and deletes one stored on the VM. Only ``pve_vm_exists`` is set for later plays. The input checks run under ``tags: always``, so a tag-filtered run also needs ``pve_vm_api_user`` and ``pve_vm_api_token_secret`` (and ``pve_vm_disk_size`` while ``pve_vm_manage_disk`` is true). Declares Ubuntu noble and resolute guests; the molecule scenario covers the input validation and the drift detection, not the API lifecycle.
|
||||||
|
- traefik - The prerequisites install refreshes the APT cache only when it is older than an hour; before, every run refreshed it. A consumer who adds an APT source just before the role must refresh the cache first.
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- fail2ban - ``--check`` no longer fails on a host where fail2ban is not installed yet, through either entry point; the preview reports the install and skips the configuration, service and jail tasks.
|
||||||
|
- ufw - ``--check`` no longer fails on a host where ufw is not installed yet; the preview reports the install and skips the tasks that need the ``ufw`` binary.
|
||||||
|
|
||||||
v3.2.0
|
v3.2.0
|
||||||
======
|
======
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ An Ansible Collection of reusable, hardened roles for a self-hosted home lab:
|
|||||||
`nfs_client`, `pihole`, `pve_lxc`, `pve_vm`, `sshd`, `system_baseline`, `systemd_hardening`, `tailscale`, `traefik`,
|
`nfs_client`, `pihole`, `pve_lxc`, `pve_vm`, `sshd`, `system_baseline`, `systemd_hardening`, `tailscale`, `traefik`,
|
||||||
`ufw` and `user_management`, plus the internal `_binary_update`. Roles still to come are listed under [Roadmap](#roadmap).
|
`ufw` and `user_management`, plus the internal `_binary_update`. Roles still to come are listed under [Roadmap](#roadmap).
|
||||||
|
|
||||||
Status: roles arrive in waves. Release 3.2.0 holds the `cloudflared`, `docker`, `fail2ban`, `gitea`, `gitea_runner`, `network_interfaces`, `pihole`, `pve_lxc`, `sshd`, `system_baseline`, `systemd_hardening`, `tailscale`, `traefik`, `ufw` and `user_management` roles (and the internal `_binary_update`, which `cloudflared`, `gitea`, `gitea_runner` and `traefik` call). `nfs_client` and `pve_vm` are on `main` for the next release.
|
Status: roles arrive in waves. Release 3.3.0 holds the `cloudflared`, `docker`, `fail2ban`, `gitea`, `gitea_runner`, `network_interfaces`, `nfs_client`, `pihole`, `pve_lxc`, `pve_vm`, `sshd`, `system_baseline`, `systemd_hardening`, `tailscale`, `traefik`, `ufw` and `user_management` roles (and the internal `_binary_update`, which `cloudflared`, `gitea`, `gitea_runner` and `traefik` call).
|
||||||
|
|
||||||
## Consuming
|
## Consuming
|
||||||
|
|
||||||
@@ -17,7 +17,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: v3.2.0
|
version: v3.3.0
|
||||||
```
|
```
|
||||||
|
|
||||||
Its dependencies (`community.general`, `ansible.posix`, `community.proxmox`) are declared in `galaxy.yml`, so
|
Its dependencies (`community.general`, `ansible.posix`, `community.proxmox`) are declared in `galaxy.yml`, so
|
||||||
|
|||||||
@@ -31,6 +31,10 @@ objects:
|
|||||||
description: Manage /etc/network/interfaces
|
description: Manage /etc/network/interfaces
|
||||||
name: network_interfaces
|
name: network_interfaces
|
||||||
version_added: null
|
version_added: null
|
||||||
|
nfs_client:
|
||||||
|
description: Install the NFS client and manage NFS entries in /etc/fstab
|
||||||
|
name: nfs_client
|
||||||
|
version_added: null
|
||||||
pihole:
|
pihole:
|
||||||
description: Install and configure Pi-hole from the upstream repository
|
description: Install and configure Pi-hole from the upstream repository
|
||||||
name: pihole
|
name: pihole
|
||||||
@@ -39,6 +43,10 @@ objects:
|
|||||||
description: Manage a Proxmox LXC container
|
description: Manage a Proxmox LXC container
|
||||||
name: pve_lxc
|
name: pve_lxc
|
||||||
version_added: null
|
version_added: null
|
||||||
|
pve_vm:
|
||||||
|
description: Manage a Proxmox VE QEMU VM cloned from a template
|
||||||
|
name: pve_vm
|
||||||
|
version_added: null
|
||||||
sshd:
|
sshd:
|
||||||
description: Write a hardened sshd drop-in
|
description: Write a hardened sshd drop-in
|
||||||
name: sshd
|
name: sshd
|
||||||
@@ -85,4 +93,4 @@ plugins:
|
|||||||
strategy: {}
|
strategy: {}
|
||||||
test: {}
|
test: {}
|
||||||
vars: {}
|
vars: {}
|
||||||
version: 3.2.0
|
version: 3.3.0
|
||||||
@@ -532,3 +532,47 @@ releases:
|
|||||||
- refusals-in-verify.yml
|
- refusals-in-verify.yml
|
||||||
- traefik-release-url.yml
|
- traefik-release-url.yml
|
||||||
release_date: '2026-11-27'
|
release_date: '2026-11-27'
|
||||||
|
3.3.0:
|
||||||
|
changes:
|
||||||
|
bugfixes:
|
||||||
|
- fail2ban - ``--check`` no longer fails on a host where fail2ban is not installed
|
||||||
|
yet, through either entry point; the preview reports the install and skips
|
||||||
|
the configuration, service and jail tasks.
|
||||||
|
- ufw - ``--check`` no longer fails on a host where ufw is not installed yet;
|
||||||
|
the preview reports the install and skips the tasks that need the ``ufw``
|
||||||
|
binary.
|
||||||
|
minor_changes:
|
||||||
|
- 'docker - New input ``docker_keyring_checksum``: the Docker APT key is verified
|
||||||
|
against a pinned sha256, and a changed key fails the install until a person
|
||||||
|
has checked it and updated the hash. Set ``docker_keyring_checksum`` too when
|
||||||
|
``docker_gpg_url`` is overridden.'
|
||||||
|
- nfs_client - New role. Installs ``nfs-common`` and manages NFS mount entries
|
||||||
|
in ``/etc/fstab`` from ``nfs_client_mounts`` (``src``, ``path``, optional
|
||||||
|
``opts`` and ``state`` ``present`` or ``absent``), with ``nfs_client_default_opts``
|
||||||
|
(default ``_netdev,nofail``) for an entry that sets none. It creates each
|
||||||
|
mount point without owner, group or mode, writes only the fstab line, never
|
||||||
|
mounts or unmounts, and reloads systemd after a change. An ``absent`` entry
|
||||||
|
loses its line and nothing else. Declares Ubuntu noble and resolute; the molecule
|
||||||
|
scenario never mounts a share.
|
||||||
|
- 'pve_vm - New role. Clones a Proxmox VE QEMU VM from a template through the
|
||||||
|
Proxmox API (``community.proxmox``), sets its cloud-init user, SSH keys and
|
||||||
|
network, updates an existing VM only on detected drift, grows its boot disk,
|
||||||
|
applies the power state, waits for SSH and cloud-init and (with ``pve_vm_allow_destroy``)
|
||||||
|
deletes it. It never sets a cloud-init password and deletes one stored on
|
||||||
|
the VM. Only ``pve_vm_exists`` is set for later plays. The input checks run
|
||||||
|
under ``tags: always``, so a tag-filtered run also needs ``pve_vm_api_user``
|
||||||
|
and ``pve_vm_api_token_secret`` (and ``pve_vm_disk_size`` while ``pve_vm_manage_disk``
|
||||||
|
is true). Declares Ubuntu noble and resolute guests; the molecule scenario
|
||||||
|
covers the input validation and the drift detection, not the API lifecycle.'
|
||||||
|
- traefik - The prerequisites install refreshes the APT cache only when it is
|
||||||
|
older than an hour; before, every run refreshed it. A consumer who adds an
|
||||||
|
APT source just before the role must refresh the cache first.
|
||||||
|
fragments:
|
||||||
|
- 402-nfs-client.yml
|
||||||
|
- 448-docker-keyring-checksum.yml
|
||||||
|
- 456-system-baseline-purge-batch.yml
|
||||||
|
- 458-traefik-apt-cache-valid-time.yml
|
||||||
|
- 478-ufw-fail2ban-check-mode.yml
|
||||||
|
- 482-pve-vm.yml
|
||||||
|
- system-baseline-internal-registers.yml
|
||||||
|
release_date: '2026-12-01'
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
minor_changes:
|
|
||||||
- >-
|
|
||||||
nfs_client - New role. Installs ``nfs-common`` and manages NFS mount entries in ``/etc/fstab`` from ``nfs_client_mounts``
|
|
||||||
(``src``, ``path``, optional ``opts`` and ``state`` ``present`` or ``absent``), with ``nfs_client_default_opts``
|
|
||||||
(default ``_netdev,nofail``) for an entry that sets none. It creates each mount point without owner, group or mode,
|
|
||||||
writes only the fstab line, never mounts or unmounts, and reloads systemd after a change. An ``absent`` entry loses its
|
|
||||||
line and nothing else. Declares Ubuntu noble and resolute; the molecule scenario never mounts a share.
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
minor_changes:
|
|
||||||
- >-
|
|
||||||
docker - New input ``docker_keyring_checksum``: the Docker APT key is verified against a pinned
|
|
||||||
sha256, and a changed key fails the install until a person has checked it and updated the hash.
|
|
||||||
Set ``docker_keyring_checksum`` too when ``docker_gpg_url`` is overridden.
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
trivial:
|
|
||||||
- >-
|
|
||||||
system_baseline - Purge the unwanted packages that are installed in one apt call instead of one call per package.
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
minor_changes:
|
|
||||||
- >-
|
|
||||||
traefik - The prerequisites install refreshes the APT cache only when it is older than an hour;
|
|
||||||
before, every run refreshed it. A consumer who adds an APT source just before the role must
|
|
||||||
refresh the cache first.
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
bugfixes:
|
|
||||||
- >-
|
|
||||||
ufw - ``--check`` no longer fails on a host where ufw is not installed yet; the preview reports
|
|
||||||
the install and skips the tasks that need the ``ufw`` binary.
|
|
||||||
- >-
|
|
||||||
fail2ban - ``--check`` no longer fails on a host where fail2ban is not installed yet, through
|
|
||||||
either entry point; the preview reports the install and skips the configuration, service and
|
|
||||||
jail tasks.
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
---
|
|
||||||
minor_changes:
|
|
||||||
- >-
|
|
||||||
pve_vm - New role. Clones a Proxmox VE QEMU VM from a template through the Proxmox API (``community.proxmox``), sets
|
|
||||||
its cloud-init user, SSH keys and network, updates an existing VM only on detected drift, grows its boot disk,
|
|
||||||
applies the power state, waits for SSH and cloud-init and (with ``pve_vm_allow_destroy``) deletes it. It never sets
|
|
||||||
a cloud-init password and deletes one stored on the VM. Only ``pve_vm_exists`` is set for later plays. The input
|
|
||||||
checks run under ``tags: always``, so a tag-filtered run also needs ``pve_vm_api_user`` and
|
|
||||||
``pve_vm_api_token_secret`` (and ``pve_vm_disk_size`` while ``pve_vm_manage_disk`` is true). Declares
|
|
||||||
Ubuntu noble and resolute guests; the molecule scenario covers the input validation and the drift detection, not
|
|
||||||
the API lifecycle.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
trivial:
|
|
||||||
- >-
|
|
||||||
system_baseline - The registered results of the unattended-upgrades check and the reboot-required
|
|
||||||
check carry the internal ``__system_baseline_`` prefix.
|
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
namespace: mortis
|
namespace: mortis
|
||||||
name: kamino
|
name: kamino
|
||||||
version: 3.2.0
|
version: 3.3.0
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- Defame1297
|
- Defame1297
|
||||||
|
|||||||
Reference in new issue
Block a user