No description
Find a file
Dustin C. Hatch 1b0676b559 packaging/os/portage: Improve check mode handling
When running in check mode, the *portage* module always reports that no
changes were made, even if the requested packages do not exist on the
system. This is because it was erroneously expecting `emerge --pretend`
to produce the same output as `emerge` by itself would, and attempts to
parse it. This is not correct, for several reasons. Most specifically,
the string for which it is searching does not exist in the pretend
output. Additionally, `emerge --pretend` always prints the requested
packages, whether they are already installed or not; in the former case,
it shows them as reinstalls.

This commit adjusts the behavior to rely on `equery` alone when running
in check mode. If `equery` reports at least one package is not
installed, then nothing else is done: the system will definitely be
changed.

Signed-off-by: Dustin C. Hatch <dustin@hatch.name>
2015-06-18 13:50:43 -05:00
cloud minor doc update 2015-06-17 09:42:18 -04:00
clustering Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
commands Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
database Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
files Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
messaging Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
monitoring Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
network added version_added: "2.0" to new parameters 2015-06-18 09:11:16 +02:00
notification Merge pull request #199 from bkimble/devel 2015-06-17 12:39:26 -04:00
packaging packaging/os/portage: Improve check mode handling 2015-06-18 13:50:43 -05:00
source_control Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
system minor docfixes 2015-06-17 09:39:57 -04:00
web_infrastructure Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
windows Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
.gitignore Add basic top level files. 2014-09-26 09:21:20 -04:00
.travis.yml Specify that travis should use python2.6 2015-05-14 11:05:35 -05:00
__init__.py package files 2014-09-26 11:04:10 -04:00
CONTRIBUTING.md Add new policy guidelines for Extras 2015-06-16 11:33:13 -04:00
COPYING Add basic top level files. 2014-09-26 09:21:20 -04:00
README.md added installation info .. that you don't need to 2015-03-10 10:36:00 -04:00
REVIEWERS.md Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
VERSION Version bump for 1.8.2 2015-06-16 11:33:08 -04:00

ansible-modules-extras

This repo contains a subset of ansible-modules with slightly lower use or priority than "core" modules.

All new modules should be submitted here, and have a chance to be promoted to core over time.

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.