community.general/lib/ansible/modules
Lars Kellogg-Stedman e031efd82c Do not erroneously mask exceptions
There was a catch-all `except` statement in `create_containers`:

        try:
            containers = do_create(count, params)
        except:
            self.pull_image()
            containers = do_create(count, params)

This would mask a variety of errors that should be exposed, including
API compatability errors (as in #1707) and common Python exceptions (KeyError, ValueError, etc) that could result from errors in the code.

This change makes the `except` statement more specific, and only attempts to pull the image and start a container if the original create attempt failed due to a 404 error from the docker API.
2016-12-08 11:23:21 -05:00
..
cloud Do not erroneously mask exceptions 2016-12-08 11:23:21 -05:00
commands Document globbing support 2016-12-08 11:23:13 -05:00
database Add version_added and type of parameter 2016-12-08 11:23:19 -05:00
files Also document in example that unarchive download was added in 2.0 2016-12-08 11:23:20 -05:00
inventory Proper author info for all remaining modules 2016-12-08 11:23:07 -05:00
network Update uri.py 2016-12-08 11:23:19 -05:00
packaging Add notes about loop squashing and 1.9.2 change to install packages in one yum transaction 2016-12-08 11:23:19 -05:00
source_control Replaced tabbed indentation with spaces for subversion module 2016-12-08 11:23:16 -05:00
system Fix group mod and group add for FreeBSD 2016-12-08 11:23:18 -05:00
utilities Proper author info for all remaining modules 2016-12-08 11:23:07 -05:00
web_infrastructure Correctly default crypt_scheme in htpasswd 2016-12-08 11:23:20 -05:00
windows Set force=yes as the default, add force parameter to module docs. 2016-12-08 11:23:20 -05:00
__init__.py package files 2016-12-08 11:22:22 -05:00
CONTRIBUTING.md Moving snapshot of modules back from core 2016-12-08 11:21:46 -05:00
COPYING Moving snapshot of modules back from core 2016-12-08 11:21:46 -05:00
README.md updated to keep same info as in extras repo 2016-12-08 11:22:47 -05:00
test-docs.sh Add testing of docs to the core repo 2016-12-08 11:23:14 -05:00

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.