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
pull/34703/head
Yury Tsarev 7 years ago committed by John R Barker
parent b88304f211
commit 7c8120d0de

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

Loading…
Cancel
Save