Merge pull request #7400 from etehtsea/patch-1

Fix env splitting in docker module
pull/7406/head
James Cammarata 11 years ago
commit bf405ef7a8

@ -384,7 +384,7 @@ class DockerManager:
self.env = None self.env = None
if self.module.params.get('env'): if self.module.params.get('env'):
self.env = dict(map(lambda x: x.split("="), self.module.params.get('env'))) self.env = dict(map(lambda x: x.split("=", 1), self.module.params.get('env')))
# connect to docker server # connect to docker server
docker_url = urlparse(module.params.get('docker_url')) docker_url = urlparse(module.params.get('docker_url'))

Loading…
Cancel
Save