From f36b6ee7fd6a9ca2ad1b03e40e888386ea988a4f Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 16:08:29 +0200 Subject: [PATCH] Update docker module documentation for log_options (#317) (#318) * Update docker module documentation for log_options Add that log_driver must be specified for log_options to take effect * Update plugins/modules/docker_container.py Co-authored-by: Felix Fontein (cherry picked from commit 69399d736dd48d739722c2fdc70fba0ca8a0799a) Co-authored-by: addisonshelley <102306748+addisonshelley@users.noreply.github.com> --- plugins/modules/docker_container.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/modules/docker_container.py b/plugins/modules/docker_container.py index 16807117..5002a1c2 100644 --- a/plugins/modules/docker_container.py +++ b/plugins/modules/docker_container.py @@ -456,6 +456,7 @@ options: description: - Dictionary of options specific to the chosen I(log_driver). - See U(https://docs.docker.com/engine/admin/logging/overview/) for details. + - I(log_driver) needs to be specified for I(log_options) to take effect, even if using the default C(json-file) driver. type: dict aliases: - log_opt