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.
 
 
 
 
 
Go to file
Lars Kellogg-Stedman 444a2ad808 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.
9 years ago
cloud Do not erroneously mask exceptions 9 years ago
commands Merge pull request #513 from fgsch/fix_1904 9 years ago
database corrected version added 9 years ago
files Also document in example that unarchive download was added in 2.0 9 years ago
inventory Proper author info for all remaining modules 9 years ago
network Merge pull request #1179 from hver/devel 9 years ago
packaging Add notes about loop squashing and 1.9.2 change to install packages in one yum transaction 9 years ago
source_control Replaced tabbed indentation with spaces for subversion module 9 years ago
system Merge pull request #1286 from 0tmc/freebsd_mount_fix 9 years ago
utilities Proper author info for all remaining modules 9 years ago
web_infrastructure Merge pull request #1700 from faulkner/django_manage-collectstatic-change 9 years ago
windows Set force=yes as the default, add force parameter to module docs. 9 years ago
.gitignore Add basic top level files. 10 years ago
.travis.yml Disable travis docs checks 9 years ago
CONTRIBUTING.md Add basic top level files. 10 years ago
COPYING Add basic top level files. 10 years ago
README.md updated to keep same info as in extras repo 10 years ago
__init__.py package files 10 years ago
test-docs.sh Add testing of docs to the core repo 9 years ago

README.md

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.