summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fontein <felix@fontein.de>2019-05-06 17:03:13 +0200
committerAlicia Cozine <879121+acozine@users.noreply.github.com>2019-05-06 10:03:13 -0500
commit954462c24fee3c54e568f0177ff0e5007fdb18b1 (patch)
tree38e90693fd50461b94091dd3d63a6a0bdca49fdb
parent7705c9044d6f51cf927a044003384fdf47778102 (diff)
downloadansible-954462c24fee3c54e568f0177ff0e5007fdb18b1.tar.gz
fix documentation for docker_container publish_ports option (#56093) (#56099)
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 5e74ecb4fdce1356c089def82cd1ac8610778969)
-rw-r--r--lib/ansible/modules/cloud/docker/docker_container.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ansible/modules/cloud/docker/docker_container.py b/lib/ansible/modules/cloud/docker/docker_container.py
index 519609a540..494822d558 100644
--- a/lib/ansible/modules/cloud/docker/docker_container.py
+++ b/lib/ansible/modules/cloud/docker/docker_container.py
@@ -294,7 +294,6 @@ options:
- List of ports to publish from the container to the host.
- "Use docker CLI syntax: C(8000), C(9000:8000), or C(0.0.0.0:9000:8000), where 8000 is a
container port, 9000 is a host port, and 0.0.0.0 is a host interface."
- - 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