community.general/lib/ansible/modules/cloud
Sam Yaple 463fb5a058 Don't assume ExposedPorts exists (bug #2257)
A recent change [1] in docker between v1.8.2 and v1.8.3 changed what
is returned in the json when inspecting an image. Five variables which
could have been expected before will now be omited when empty. Only
one of those variables is being addressed in the docker, ExposedPorts.

Unfortunately there was also no API version change on this so this
can't be easily corrected with pinning the API to the older version.

This does a get() which will return None if the variable is not in the
dict formed from the json that was returned. Everything else works the
same way.

[1] 9098628b29
2016-12-08 11:23:40 -05:00
..
amazon Added deleteOnTermination in the output of list option 2016-12-08 11:23:40 -05:00
azure keep backwards compatibility 2016-12-08 11:23:39 -05:00
digital_ocean Fixed bug, when MX records pointed to ORIGIN(@) caused unintentional change of random A record. 2016-12-08 11:23:29 -05:00
docker Don't assume ExposedPorts exists (bug #2257) 2016-12-08 11:23:40 -05:00
google Delete dead and broken code 2016-12-08 11:23:33 -05:00
linode
openstack doc fixes 2016-12-08 11:23:40 -05:00
rackspace added version added to new rax_cdb choices 2016-12-08 11:23:40 -05:00
vmware vm_floppy 2.0 support 2016-12-08 11:23:34 -05:00
__init__.py