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 <felix@fontein.de>
(cherry picked from commit 69399d736d)

Co-authored-by: addisonshelley <102306748+addisonshelley@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2022-03-27 16:08:29 +02:00 committed by GitHub
parent 6a8ba02b5b
commit f36b6ee7fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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