chore(release): 2.0.1
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:
1 parent
b0717eed0a
commit
a930a58beb
7 files changed
+33
-21
No files matched your search
@@ -4,6 +4,14 @@ mortis.kamino Release Notes
|
|||||||
|
|
||||||
.. contents:: Topics
|
.. contents:: Topics
|
||||||
|
|
||||||
|
v2.0.1
|
||||||
|
======
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
v2.0.0
|
v2.0.0
|
||||||
======
|
======
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ An Ansible Collection of reusable, hardened roles for a self-hosted home lab:
|
|||||||
`sshd`, `system_baseline`, `systemd_hardening`, `traefik`, `ufw` and `user_management`,
|
`sshd`, `system_baseline`, `systemd_hardening`, `traefik`, `ufw` and `user_management`,
|
||||||
plus the internal `_binary_update`. Roles still to come are listed under [Roadmap](#roadmap).
|
plus the internal `_binary_update`. Roles still to come are listed under [Roadmap](#roadmap).
|
||||||
|
|
||||||
Status: roles arrive in waves. Release 2.0.0 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.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).
|
||||||
|
|
||||||
## 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.0
|
version: v2.0.1
|
||||||
```
|
```
|
||||||
|
|
||||||
Its dependencies (`community.general`, `ansible.posix`) are declared in `galaxy.yml`, so
|
Its dependencies (`community.general`, `ansible.posix`) are declared in `galaxy.yml`, so
|
||||||
|
|||||||
@@ -71,4 +71,4 @@ plugins:
|
|||||||
strategy: {}
|
strategy: {}
|
||||||
test: {}
|
test: {}
|
||||||
vars: {}
|
vars: {}
|
||||||
version: 2.0.0
|
version: 2.0.1
|
||||||
@@ -355,3 +355,24 @@ releases:
|
|||||||
- system-baseline-reboot-throttle-apt-daily.yml
|
- system-baseline-reboot-throttle-apt-daily.yml
|
||||||
- system-baseline-unattended-blacklist.yml
|
- system-baseline-unattended-blacklist.yml
|
||||||
release_date: '2026-11-24'
|
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.
|
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
namespace: mortis
|
namespace: mortis
|
||||||
name: kamino
|
name: kamino
|
||||||
version: 2.0.0
|
version: 2.0.1
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- Defame1297
|
- Defame1297
|
||||||
|
|||||||
Reference in new issue
Block a user