From fc486824b84246b2d4ec3fce0f184d7391c8dc66 Mon Sep 17 00:00:00 2001 From: chouseknecht Date: Sat, 4 Jun 2016 02:07:10 -0400 Subject: [PATCH] Fix issue #3866 --- 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 531579b8026..7d6284906c5 100644 --- a/lib/ansible/modules/cloud/docker/docker_container.py +++ b/lib/ansible/modules/cloud/docker/docker_container.py @@ -1506,7 +1506,7 @@ class Container(DockerBaseClass): expected_env = dict() if image and image['ContainerConfig'].get('Env'): for env_var in image['ContainerConfig']['Env']: - parts = env_var.split('=') + parts = env_var.split('=', 1) expected_env[parts[0]] = parts[1] if self.parameters.env: expected_env.update(self.parameters.env)