No description
Find a file
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>
2016-06-11 17:29:39 +01:00
.github Update GitHub templates to reflect ansible/ansible (#3900) 2016-06-10 11:57:00 -04:00
cloud docker_service: make PyYAML requirement explicit 2016-06-11 17:29:39 +01:00
commands command: Correct suggestion of non-existant module apt-get 2016-05-01 11:02:57 +02:00
database Removing double definition in postgresql_user module (#3714) 2016-05-24 14:47:50 +02:00
files Update delete notes for Synrhconize docs (#3723) 2016-06-10 15:11:24 -04:00
inventory Add missing GPLv3 License header 2015-07-03 22:57:53 -05:00
network Use the six import for urlsplit instead of importing directly. (#3902) 2016-06-09 13:25:17 -04:00
packaging apt: fix deb=file with --diff does not show diff on upgrades (#3826) 2016-06-01 23:38:00 +02:00
source_control Revert "Fix git shallow update (#3794)" -- Broke integration tests: 2016-06-09 14:48:51 -07:00
system Clarify behaviour when state=present and no name is given (#3904) 2016-06-10 13:03:01 -04:00
test/unit/cloud/openstack add some unit tests for the os_server module 2015-10-16 21:03:50 -04:00
utilities Adapt module to use new module._name property (#3918) 2016-06-10 11:45:49 -04:00
web_infrastructure Port htpasswd to python3 compatible syntax (#3672) 2016-05-17 10:17:24 -07:00
windows Return reboot pending as true/false 2016-06-06 23:32:33 +02:00
.gitignore
.travis.yml Remove rackspace modules from travis py3 blacklist as they should now compile 2016-06-03 06:59:15 -07:00
__init__.py
CONTRIBUTING.md point to local issue temmplate 2016-02-18 09:28:47 -08:00
COPYING
README.md readme: add build state image from travis 2016-04-29 10:52:17 +02:00
test-docs.sh Add testing of docs to the core repo 2015-06-29 12:42:50 -07:00
test-requirements.txt add some unit tests for the os_server module 2015-10-16 21:03:50 -04:00
VERSION Version bump for new beta 2.0.0-0.5.beta3 2015-11-13 16:46:32 -05:00

Build Status

ansible-modules-core

This repo contains Ansible's most popular modules that are shipped with Ansible.

New module submissions for modules that do not yet exist should be submitted to ansible-modules-extras, rather than this repo.

Take care to submit tickets to the appropriate repo where modules are contained. The docs.ansible.com website indicates this at the bottom of each module documentation page.

Reporting bugs

Take care to submit tickets to the appropriate repo where modules are contained. The repo is mentioned at the bottom of module documentation page at docs.ansible.com.

Testing modules

Ansible module development guide contains the latest info about that.

License

As with Ansible, modules distributed with Ansible are GPLv3 licensed. User generated modules not part of this project can be of any license.

Installation

There should be no need to install this repo separately as it should be included in any Ansible install using the official documented methods.