From 7c8120d0ded3aa80f78f935f4c80103733e0401d Mon Sep 17 00:00:00 2001 From: Yury Tsarev Date: Wed, 10 Jan 2018 16:33:22 +0100 Subject: [PATCH] Fix misleading cleanup/detach documentation (#34674) * Fix misleading cleanup/detach documentation Current documentation is not concrete regarding desired state of `detach` to make container be properly removed with `cleanup` Make `detach:false` be mentioned explicitly * Tweak formatting --- lib/ansible/modules/cloud/docker/docker_container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/docker/docker_container.py b/lib/ansible/modules/cloud/docker/docker_container.py index 05fda7dc08c..a62757bb381 100644 --- a/lib/ansible/modules/cloud/docker/docker_container.py +++ b/lib/ansible/modules/cloud/docker/docker_container.py @@ -42,7 +42,7 @@ options: required: false cleanup: description: - - Use with I(detach) to remove the container after successful execution. + - Use with I(detach=false) to remove the container after successful execution. default: false required: false version_added: "2.2"