From ca36d232d5f1631c75533889e15381fc50eac1b3 Mon Sep 17 00:00:00 2001 From: Daniel Andrei Minca Date: Wed, 19 Oct 2016 00:55:37 +0300 Subject: [PATCH] fix unclear documentation for docker container the docker container module's `exposed_ports` was slightly ambigous. Use the official Docker documentation to define what an `exposed port` is. Resolves: ansible/ansible-modules-core#5303 Signed-off-by: Daniel Andrei Minca --- lib/ansible/modules/cloud/docker/docker_container.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/docker/docker_container.py b/lib/ansible/modules/cloud/docker/docker_container.py index 5be14176fd..a1a595ed2b 100644 --- a/lib/ansible/modules/cloud/docker/docker_container.py +++ b/lib/ansible/modules/cloud/docker/docker_container.py @@ -124,7 +124,8 @@ options: required: false exposed_ports: description: - - List of additional container ports to expose for port mappings or links. + - List of additional container ports which informs Docker that the container + listens on the specified network ports at runtime. If the port is already exposed using EXPOSE in a Dockerfile, it does not need to be exposed again. default: null