1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
This commit is contained in:
chouseknecht 2016-06-04 02:07:10 -04:00 committed by Matt Clay
parent 097f57d327
commit fc486824b8

View file

@ -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)