chore(release): 2.0.1
Build / build (pull_request) Successful in 29s
Molecule / molecule (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 1m24s

Patch release: the docker role gains the opt-in boot and shutdown units
for hosts that run Docker with live-restore.

Assisted-by: Claude Code:claude-sonnet-5-5
This commit is contained in:
Dragonish committed 2026-11-25 18:49:55 +00:00
1 parent b0717eed0a
commit a930a58beb
7 files changed
+33 -21

No files matched your search

+1 -1
View File
@@ -71,4 +71,4 @@ plugins:
strategy: {}
test: {}
vars: {}
version: 2.0.0
version: 2.0.1
+21
View File
@@ -355,3 +355,24 @@ releases:
- system-baseline-reboot-throttle-apt-daily.yml
- system-baseline-unattended-blacklist.yml
release_date: '2026-11-24'
2.0.1:
changes:
minor_changes:
- docker - Add the opt-in inputs ``docker_start_missed`` and ``docker_stop_at_shutdown``
(both default ``false``, so a host that does not set them is unchanged) for
a host that runs Docker with ``live-restore``. ``docker_start_missed`` installs
a boot unit that starts the containers dockerd's restore pass skipped after
a reboot of the whole host (exited with code 255 during this boot, restart
policy ``unless-stopped`` or ``always``; one stopped on purpose stays stopped),
with ``docker_start_missed_settle_seconds`` (default 30). ``docker_stop_at_shutdown``
installs a unit that ends every container process at shutdown while the network
and NFS shares are still up (SIGTERM, then SIGKILL after ``docker_stop_at_shutdown_timeout``
seconds, default 30, never ``docker stop`` or ``docker kill``), so that a
container holding an NFS mount does not stall the shutdown while the network
is already down. Setting an input back to ``false``, or ``docker_remove``,
removes its unit and script. Both units do nothing when ``/usr/bin/docker``
does not exist.
fragments:
- docker-boot-shutdown-units.yml
- role-readme-headings.yml
release_date: '2026-11-25'
@@ -1,11 +0,0 @@
---
minor_changes:
- >-
docker - Add the opt-in inputs ``docker_start_missed`` and ``docker_stop_at_shutdown`` (both default ``false``, so a host that does not
set them is unchanged) for a host that runs Docker with ``live-restore``. ``docker_start_missed`` installs a boot unit that starts the
containers dockerd's restore pass skipped after a reboot of the whole host (exited with code 255 during this boot, restart policy
``unless-stopped`` or ``always``; one stopped on purpose stays stopped), with ``docker_start_missed_settle_seconds`` (default 30).
``docker_stop_at_shutdown`` installs a unit that ends every container process at shutdown while the network and NFS shares are still up
(SIGTERM, then SIGKILL after ``docker_stop_at_shutdown_timeout`` seconds, default 30, never ``docker stop`` or ``docker kill``), so that
a container holding an NFS mount does not stall the shutdown while the network is already down. Setting an input back to ``false``, or ``docker_remove``,
removes its unit and script. Both units do nothing when ``/usr/bin/docker`` does not exist.
@@ -1,6 +0,0 @@
---
trivial:
- >-
Every public role README follows the fixed heading set: Supported platforms, Requirements and
run order, Role variables, Entry points, Variables set by the role, Tags, Example play, Tests
and Notes, with an "Idempotent" line.