diff --git a/lib/ansible/modules/cloud/docker/docker.py b/lib/ansible/modules/cloud/docker/docker.py index 417b44c7de..3f4ae2d5dc 100644 --- a/lib/ansible/modules/cloud/docker/docker.py +++ b/lib/ansible/modules/cloud/docker/docker.py @@ -536,7 +536,7 @@ class DockerManager(object): self.lxc_conf = [] options = self.module.params.get('lxc_conf') for option in options: - parts = option.split(':') + parts = option.split(':', 1) self.lxc_conf.append({"Key": parts[0], "Value": parts[1]}) self.exposed_ports = None