From d64d38a1f4660bd8cd6c22af75abbd720085c3b6 Mon Sep 17 00:00:00 2001 From: Ryan Brown Date: Fri, 17 Feb 2017 10:41:26 -0500 Subject: [PATCH] [cloud][docker] Insensitive search for docker port publishing (#21579) --- 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 cc7b4a4545c..82684890d06 100644 --- a/lib/ansible/modules/cloud/docker/docker_container.py +++ b/lib/ansible/modules/cloud/docker/docker_container.py @@ -766,7 +766,7 @@ class TaskParameters(DockerBaseClass): self.publish_all_ports = False self.published_ports = self._parse_publish_ports() - if self.published_ports == 'all': + if self.published_ports in ('all', 'ALL'): self.publish_all_ports = True self.published_ports = None