No description
Find a file
David Wittman 8d53ef2f60 [service] Fix bug with upstart detection
Upstart scripts are being incorrectly identified as SysV init scripts
due to a logic error in the `service` module.

Because upstart uses multiple commands (`/sbin/start`, `/sbin/stop`,
etc.) for managing service state, the codepath for upstart sets
`self.svc_cmd` to an empty string on line 451.

Empty strings are considered a non-truthy value in Python, so
conditionals which are checking the state of `self.svc_cmd` should
explicitly compare it to `None` to avoid overlooking the fact that
the service may be controlled by an upstart script.
2015-03-25 17:37:18 -05:00
cloud Merge pull request #341 from axilleas/digitalocean_docs 2015-03-25 15:16:03 -04:00
commands Remove str.format() usage for python2.4 compat. 2015-01-27 09:45:05 -08:00
database Merge pull request #888 from ansible/mysql-port 2015-03-04 18:57:32 -08:00
files Fix stat code to return name of group owning the file rather than name of group that the file's owner belongs to. 2015-03-25 08:33:19 -07:00
inventory fixed add_host docs indentation 2015-02-26 10:10:42 -05:00
network Merge pull request #537 from zitterbacke/patch-2 2015-03-19 09:12:29 -04:00
packaging Add missing import of apt.debfile 2015-03-19 14:54:59 -07:00
source_control Reverse the force parameter for the hg module 2015-01-29 18:27:35 -08:00
system [service] Fix bug with upstart detection 2015-03-25 17:37:18 -05:00
utilities Merge pull request #784 from bcoca/wait_for_docs 2015-02-25 10:39:37 -05:00
web_infrastructure Merge pull request #117 from direvus/apache2-module-word-boundary 2015-02-16 18:54:00 -05:00
windows Merge pull request #535 from bcoca/revert_win_mods 2014-12-24 08:42:02 -05:00
.gitignore Add basic top level files. 2014-09-26 09:21:20 -04:00
__init__.py package files 2014-09-26 11:05:47 -04:00
CONTRIBUTING.md Add basic top level files. 2014-09-26 09:21:20 -04:00
COPYING Add basic top level files. 2014-09-26 09:21:20 -04:00
README.md updated to keep same info as in extras repo 2015-03-10 10:35:29 -04: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.