mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #7400 from etehtsea/patch-1
Fix env splitting in docker module
This commit is contained in:
commit
bf405ef7a8
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ class DockerManager:
|
|||
|
||||
self.env = None
|
||||
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
|
||||
docker_url = urlparse(module.params.get('docker_url'))
|
||||
|
|
Loading…
Reference in a new issue