You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/cloud
Stefan Hajnoczi 8254e2b547 docker_service: make PyYAML requirement explicit
The "Developing Modules" documentation states:

  Include a minimum of dependencies if possible. If there are
  dependencies, document them at the top of the module file, and have
  the module raise JSON error messages when the import fails.

When docker_service runs on a remote host without PyYAML it crashes with
ImportError.

This patch raises a JSON error message when import fails, but only if
the PyYAML module is actually used.  It's only needed when the
"definition" parameter is given.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
10 years ago
..
amazon added missing colons to documentation (#3913) 10 years ago
azure Fix 3857 name regex 10 years ago
digital_ocean Fixing compile time error exception handling for python 3. (#3843) 10 years ago
docker docker_service: make PyYAML requirement explicit 10 years ago
google correct gs_storage docs to match reality 10 years ago
linode Py3 exclude list (#3698) 10 years ago
openstack Fixing open stack compile time errors irt exception handling for Python 3 (#3848) 10 years ago
rackspace Fixing Rackspace compile time errors irt exception handling for Python 3 (#3849) 10 years ago
vmware Port vsphere_guest to py3/py2.4 syntax (#3721) 10 years ago
__init__.py package files 11 years ago