No description
Find a file
Vince v. Oosten fd418c19c2 move environment variable gathering to end of __init__() (#3890)
* This moves the lines in the code that parse the `env` and `env_file` options for docker to the end of the `__init__()` function.
This is needed because the `_check_capabilites` function needs both a working `self.client` and a proper `self.docker_py_versioninfo`.
`_check_capabilities` is used by `ensure_capabilities` which is, in turn, used by `get_environment`

This means that before this commit, the environment variables could not be loaded because both `self.client` and `self.docker_py_versioninfo` were not set at that time.

This commit fixes that by putting the environment variable parsing after those two.

* This moves the lines in the code that parse the `env` and `env_file` options for docker to the end of the `__init__()` function.
This is needed because the `_check_capabilites` function needs both a working `self.client` and a proper `self.docker_py_versioninfo`.
`_check_capabilities` is used by `ensure_capabilities` which is, in turn, used by `get_environment`

This means that before this commit, the environment variables could not be loaded because both `self.client` and `self.docker_py_versioninfo` were not set at that time.

This commit fixes that by putting the environment variable parsing after those two.
2016-06-08 09:39:34 -04:00
.github Update the issue and pull-request templates in sync with ansible/ansible 2016-03-23 15:59:17 +01:00
cloud move environment variable gathering to end of __init__() (#3890) 2016-06-08 09:39:34 -04: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 Fix grammar in docs for fetch 'fail_on_missing' (#3872) 2016-06-06 15:27:18 -04:00
inventory Add missing GPLv3 License header 2015-07-03 22:57:53 -05:00
network removes requirement for config argument to be specified in junos_facts 2016-06-07 21:43: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 Improve error reporting when git binary fail (#3266) 2016-05-20 09:45:53 -07:00
system Fixed Typo in Examples of systemd module (#3870) 2016-06-06 13:50:47 -04:00
test/unit/cloud/openstack add some unit tests for the os_server module 2015-10-16 21:03:50 -04:00
utilities Fix wait_for to compile on python3 (#3722) 2016-05-23 09:34:27 -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 Add basic top level files. 2014-09-26 09:21:20 -04:00
.travis.yml Remove rackspace modules from travis py3 blacklist as they should now compile 2016-06-03 06:59:15 -07:00
__init__.py package files 2014-09-26 11:05:47 -04:00
CONTRIBUTING.md point to local issue temmplate 2016-02-18 09:28:47 -08:00
COPYING Add basic top level files. 2014-09-26 09:21:20 -04:00
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.