No description
Find a file
Dustin C. Hatch e3d608297d packaging/os/portage: Handle noreplace in check mode
The `--noreplace` argument to `emerge` is generally coupled with
`--newuse` or `--changed-use`, and can be used instruct Portage to
rebuild a package only if necessary. Simply checking to see if the
package is already installed using `equery` is not sufficient to
determine if any changes would be made, so that step is skipped when
the `noreplace` module argument is specified. The module then falls back
to parsing the output from `emerge` to determine if anything changed. In
check mode, `emerge` is called with `--pretend`, so it produces
different output, and the parsing fails to correctly infer that a change
would be made.

This commit adds another regular expression to check when running in
check mode that matches the pretend output from `emerge`.

Signed-off-by: Dustin C. Hatch <dustin@hatch.name>
2015-06-18 14:05:59 -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: Handle noreplace in check mode 2015-06-18 14:05:59 -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.