Merge remote-tracking branch 'origin/main' into test/133-ubuntu-2404-2604

# Conflicts:
#	changelogs/fragments/pihole-role.yml
This commit is contained in:
Defame1297 committed 2026-11-25 21:09:00 +00:00
commit df06260b27
8 files changed
+61 -33

No files matched your search

+5 -1
View File
@@ -31,6 +31,10 @@ objects:
description: Manage /etc/network/interfaces
name: network_interfaces
version_added: null
pihole:
description: Install and configure Pi-hole from the upstream repository
name: pihole
version_added: null
sshd:
description: Write a hardened sshd drop-in
name: sshd
@@ -71,4 +75,4 @@ plugins:
strategy: {}
test: {}
vars: {}
version: 2.0.1
version: 2.1.0
+38
View File
@@ -376,3 +376,41 @@ releases:
- docker-boot-shutdown-units.yml
- role-readme-headings.yml
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.
-8
View File
@@ -1,8 +0,0 @@
---
minor_changes:
- >-
pihole - New role. Installs Pi-hole v6 on Ubuntu noble and resolute 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 ``..``.