Adds docker_daemon_options, docker_live_restore, docker_log_driver, docker_log_max_size, docker_log_max_file and docker_daemon_restart. The file is written, before the packages are installed, only when 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, because a restart with live-restore off ends every container, and says so when the file applies later. A key set by both docker_daemon_options and a dedicated input, and a bad log value, stop the run before any change. Closes #375 Assisted-by: Claude Code:claude-sonnet-5-5
10 lines
834 B
YAML
10 lines
834 B
YAML
---
|
|
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.
|