Merge pull request 'chore(release): 2.1.0' (#380) from chore/release-2.1.0 into main
Build / build (push) Successful in 21s
Build / build (push) Successful in 21s
Reviewed-on: #380
This commit was merged in pull request #380.
This commit is contained in:
commit
392fbd910b
8 files changed
+61
-33
No files matched your search
@@ -4,6 +4,21 @@ mortis.kamino Release Notes
|
|||||||
|
|
||||||
.. contents:: Topics
|
.. contents:: Topics
|
||||||
|
|
||||||
|
v2.1.0
|
||||||
|
======
|
||||||
|
|
||||||
|
Minor Changes
|
||||||
|
-------------
|
||||||
|
|
||||||
|
- docker - Add ``docker_daemon_options``, ``docker_live_restore``, ``docker_log_driver``, ``docker_log_max_size``, ``docker_log_max_file`` and ``docker_daemon_restart``, which manage ``/etc/docker/daemon.json``. The file is written, before the packages are installed, only when at least one of the first five is set, so a host that sets none is unchanged; the role then owns the whole file. It restarts dockerd only when ``docker_daemon_restart`` is true (default ``false``), because a restart with ``live-restore`` off ends every container, and says that the file applies at the next restart otherwise. A key that ``docker_daemon_options`` and a dedicated input both set, a bad ``docker_log_driver``, ``docker_log_max_size`` or ``docker_log_max_file`` stops the run before any change.
|
||||||
|
- pihole - New role. Installs Pi-hole v6 on Ubuntu noble by cloning the upstream repository and running its installer unattended, with ``pihole.toml`` rendered from ``pihole_default`` merged with ``pihole_overrides``. ``pihole_web_password`` is a required secret input, and ``pihole_overrides`` must set ``config.dns.interface``. A change to ``pihole.toml`` runs the installer's reconfigure mode. Derived from codeberg.org/ansible/pihole (GPL-3.0-only), with Pi-hole FTL comment text (EUPL-1.2).
|
||||||
|
- system_baseline - add ``system_baseline_apt_tmpdir`` (default ``/var/cache/system-baseline-apt-tmp``), the directory the apt upgrade and autoremove use as ``TMPDIR``. The role creates it (root, mode ``0700``) when it runs the ``update`` flow, including the ``update`` entry point, and refuses a value under ``/tmp`` or ``/var/tmp``, a relative path or a ``..``.
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- system_baseline - the apt upgrade no longer loses its staged packages when it upgrades ``openssh-server`` on a host whose ``ssh.service`` has ``PrivateTmp=yes``. The restart of that unit deleted ``/tmp`` and ``/var/tmp`` in the middle of the upgrade, so dpkg failed with "cannot access archive" and left packages unpacked but not configured. The upgrade and the autoremove now run with ``TMPDIR`` set to ``system_baseline_apt_tmpdir``, and the role opens a new connection afterwards.
|
||||||
|
|
||||||
v2.0.1
|
v2.0.1
|
||||||
======
|
======
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ An Ansible Collection of reusable, hardened roles for a self-hosted home lab:
|
|||||||
`pihole`, `sshd`, `system_baseline`, `systemd_hardening`, `traefik`, `ufw` and
|
`pihole`, `sshd`, `system_baseline`, `systemd_hardening`, `traefik`, `ufw` and
|
||||||
`user_management`, plus the internal `_binary_update`. Roles still to come are listed under [Roadmap](#roadmap).
|
`user_management`, plus the internal `_binary_update`. Roles still to come are listed under [Roadmap](#roadmap).
|
||||||
|
|
||||||
Status: roles arrive in waves. Release 2.0.1 holds the `cloudflared`, `docker`, `fail2ban`, `gitea`, `gitea_runner`, `network_interfaces`, `sshd`, `system_baseline`, `systemd_hardening`, `traefik`, `ufw` and `user_management` roles (and the internal `_binary_update`, which `cloudflared`, `gitea`, `gitea_runner` and `traefik` call).
|
Status: roles arrive in waves. Release 2.1.0 holds the `cloudflared`, `docker`, `fail2ban`, `gitea`, `gitea_runner`, `network_interfaces`, `pihole`, `sshd`, `system_baseline`, `systemd_hardening`, `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: v2.0.1
|
version: v2.1.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
|
||||||
|
|||||||
@@ -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
|
||||||
|
pihole:
|
||||||
|
description: Install and configure Pi-hole from the upstream repository
|
||||||
|
name: pihole
|
||||||
|
version_added: null
|
||||||
sshd:
|
sshd:
|
||||||
description: Write a hardened sshd drop-in
|
description: Write a hardened sshd drop-in
|
||||||
name: sshd
|
name: sshd
|
||||||
@@ -71,4 +75,4 @@ plugins:
|
|||||||
strategy: {}
|
strategy: {}
|
||||||
test: {}
|
test: {}
|
||||||
vars: {}
|
vars: {}
|
||||||
version: 2.0.1
|
version: 2.1.0
|
||||||
@@ -376,3 +376,41 @@ releases:
|
|||||||
- docker-boot-shutdown-units.yml
|
- docker-boot-shutdown-units.yml
|
||||||
- role-readme-headings.yml
|
- role-readme-headings.yml
|
||||||
release_date: '2026-11-25'
|
release_date: '2026-11-25'
|
||||||
|
2.1.0:
|
||||||
|
changes:
|
||||||
|
bugfixes:
|
||||||
|
- system_baseline - the apt upgrade no longer loses its staged packages when
|
||||||
|
it upgrades ``openssh-server`` on a host whose ``ssh.service`` has ``PrivateTmp=yes``.
|
||||||
|
The restart of that unit deleted ``/tmp`` and ``/var/tmp`` in the middle of
|
||||||
|
the upgrade, so dpkg failed with "cannot access archive" and left packages
|
||||||
|
unpacked but not configured. The upgrade and the autoremove now run with ``TMPDIR``
|
||||||
|
set to ``system_baseline_apt_tmpdir``, and the role opens a new connection
|
||||||
|
afterwards.
|
||||||
|
minor_changes:
|
||||||
|
- docker - Add ``docker_daemon_options``, ``docker_live_restore``, ``docker_log_driver``,
|
||||||
|
``docker_log_max_size``, ``docker_log_max_file`` and ``docker_daemon_restart``,
|
||||||
|
which manage ``/etc/docker/daemon.json``. The file is written, before the
|
||||||
|
packages are installed, only when at least one of the first five is set, so
|
||||||
|
a host that sets none is unchanged; the role then owns the whole file. It
|
||||||
|
restarts dockerd only when ``docker_daemon_restart`` is true (default ``false``),
|
||||||
|
because a restart with ``live-restore`` off ends every container, and says
|
||||||
|
that the file applies at the next restart otherwise. A key that ``docker_daemon_options``
|
||||||
|
and a dedicated input both set, a bad ``docker_log_driver``, ``docker_log_max_size``
|
||||||
|
or ``docker_log_max_file`` stops the run before any change.
|
||||||
|
- pihole - New role. Installs Pi-hole v6 on Ubuntu noble by cloning the upstream
|
||||||
|
repository and running its installer unattended, with ``pihole.toml`` rendered
|
||||||
|
from ``pihole_default`` merged with ``pihole_overrides``. ``pihole_web_password``
|
||||||
|
is a required secret input, and ``pihole_overrides`` must set ``config.dns.interface``.
|
||||||
|
A change to ``pihole.toml`` runs the installer's reconfigure mode. Derived
|
||||||
|
from codeberg.org/ansible/pihole (GPL-3.0-only), with Pi-hole FTL comment
|
||||||
|
text (EUPL-1.2).
|
||||||
|
- system_baseline - add ``system_baseline_apt_tmpdir`` (default ``/var/cache/system-baseline-apt-tmp``),
|
||||||
|
the directory the apt upgrade and autoremove use as ``TMPDIR``. The role creates
|
||||||
|
it (root, mode ``0700``) when it runs the ``update`` flow, including the ``update``
|
||||||
|
entry point, and refuses a value under ``/tmp`` or ``/var/tmp``, a relative
|
||||||
|
path or a ``..``.
|
||||||
|
fragments:
|
||||||
|
- docker-daemon-json.yml
|
||||||
|
- pihole-role.yml
|
||||||
|
- system-baseline-apt-tmpdir.yml
|
||||||
|
release_date: '2026-11-25'
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
minor_changes:
|
|
||||||
- >-
|
|
||||||
docker - Add ``docker_daemon_options``, ``docker_live_restore``, ``docker_log_driver``, ``docker_log_max_size``, ``docker_log_max_file``
|
|
||||||
and ``docker_daemon_restart``, which manage ``/etc/docker/daemon.json``. The file is written, before the packages are installed, only when
|
|
||||||
at least one of the first five is set, so a host that sets none is unchanged; the role then owns the whole file. It restarts dockerd only
|
|
||||||
when ``docker_daemon_restart`` is true (default ``false``), because a restart with ``live-restore`` off ends every container, and says
|
|
||||||
that the file applies at the next restart otherwise. A key that ``docker_daemon_options`` and a dedicated input both set, a bad
|
|
||||||
``docker_log_driver``, ``docker_log_max_size`` or ``docker_log_max_file`` stops the run before any change.
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
minor_changes:
|
|
||||||
- >-
|
|
||||||
pihole - New role. Installs Pi-hole v6 on Ubuntu noble by cloning the upstream repository and running
|
|
||||||
its installer unattended, with ``pihole.toml`` rendered from ``pihole_default`` merged with ``pihole_overrides``.
|
|
||||||
``pihole_web_password`` is a required secret input, and ``pihole_overrides`` must set ``config.dns.interface``.
|
|
||||||
A change to ``pihole.toml`` runs the installer's reconfigure mode. Derived from codeberg.org/ansible/pihole
|
|
||||||
(GPL-3.0-only), with Pi-hole FTL comment text (EUPL-1.2).
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
---
|
|
||||||
bugfixes:
|
|
||||||
- >-
|
|
||||||
system_baseline - the apt upgrade no longer loses its staged packages when it upgrades ``openssh-server`` on a host whose
|
|
||||||
``ssh.service`` has ``PrivateTmp=yes``. The restart of that unit deleted ``/tmp`` and ``/var/tmp`` in the middle of the upgrade, so
|
|
||||||
dpkg failed with "cannot access archive" and left packages unpacked but not configured. The upgrade and the autoremove now run with
|
|
||||||
``TMPDIR`` set to ``system_baseline_apt_tmpdir``, and the role opens a new connection afterwards.
|
|
||||||
minor_changes:
|
|
||||||
- >-
|
|
||||||
system_baseline - add ``system_baseline_apt_tmpdir`` (default ``/var/cache/system-baseline-apt-tmp``), the directory the apt upgrade and
|
|
||||||
autoremove use as ``TMPDIR``. The role creates it (root, mode ``0700``) when it runs the ``update`` flow, including the ``update`` entry
|
|
||||||
point, and refuses a value under ``/tmp`` or ``/var/tmp``, a relative path or a ``..``.
|
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
namespace: mortis
|
namespace: mortis
|
||||||
name: kamino
|
name: kamino
|
||||||
version: 2.0.1
|
version: 2.1.0
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- Defame1297
|
- Defame1297
|
||||||
|
|||||||
Reference in new issue
Block a user