fix documentation for docker_container publish_ports option (#56093) (#56100)

The documentation for the docker_container publish_ports options
erroneously stated that container ports must be "exposed" in order to
be "published".

(cherry picked from commit 5e74ecb4fd)
This commit is contained in:
Felix Fontein 2019-05-06 17:02:42 +02:00 committed by Alicia Cozine
parent f084305466
commit 0829325d21

View file

@ -486,7 +486,6 @@ options:
- "Bind addresses must be either IPv4 or IPv6 addresses. Hostnames are I(not) allowed. This
is different from the C(docker) command line utility. Use the L(dig lookup,../lookup/dig.html)
to resolve hostnames."
- Container ports must be exposed either in the Dockerfile or via the C(expose) option.
- A value of C(all) will publish all exposed container ports to random host ports, ignoring
any other mappings.
- If C(networks) parameter is provided, will inspect each network to see if there exists