mirror of https://github.com/ansible/ansible.git
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.
90df50b045
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> |
8 years ago | |
---|---|---|
.. | ||
cli | 8 years ago | |
compat | 8 years ago | |
config | 10 years ago | |
errors | 8 years ago | |
executor | 8 years ago | |
galaxy | 8 years ago | |
inventory | 8 years ago | |
module_utils | 8 years ago | |
modules | 8 years ago | |
parsing | 8 years ago | |
playbook | 8 years ago | |
plugins | 8 years ago | |
template | 8 years ago | |
utils | 8 years ago | |
vars | 8 years ago | |
__init__.py | 9 years ago | |
constants.py | 8 years ago | |
release.py | 8 years ago | |
test-requirements.txt | 10 years ago |