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.
ansible/lib/ansible
Matthew Gamble f24ab68f04 Improve and optimise pacman package installation
Previously, packages were installed one at a time in a loop. This caused
a couple of problems.

First, it was a performance issue - pacman would have to perform all of
its checks once per package. This is unnecessarily costly, especially
when you're trying to install several related packages at the same time.

Second, if a package you're trying to install depends on a virtual
package that is provided by several different packages (such as the
"libgl" package on Arch) and you aren't also installing something that
provides that virtual package at the same time, pacman will produce an
interactive prompt to allow the user to select a relevant package. This
is obviously incompatible with how ansible operates. Yes, this problem
could be avoided by installing packages in a different order, but the
order of installation shouldn't matter, and there may be situations
where it is not possible to control the order of installation.

With this refactoring, all of the above problems are avoided. The code
will now work out all of the packages that need to be installed from any
configured repositories and any packages that need to be installed from
local files, and then install all the repository packages in one go and
then all of the local file packages in one go.
9 years ago
..
cli show filename for module 9 years ago
compat Move py34 mock_open compat to compat/test/mock (#17157) 10 years ago
config Making the switch to v2 11 years ago
errors adds feature to all modules to be run locally (#18763) 9 years ago
executor adds feature to allow connection to set action plugin (#18762) 9 years ago
galaxy For container enabled role, display warning only when not ANSIBLE_CONTAINER (#18717) 9 years ago
inventory minor spelling changes 9 years ago
module_utils Better error msg for basic.get_bin_path() 9 years ago
modules Improve and optimise pacman package installation 9 years ago
parsing adds new module net_command for network devices (#19468) 9 years ago
playbook still needs static for task object 9 years ago
plugins Report detailed error when internal remote functions fail 9 years ago
template Fix AST nodes for Python 3 and enable dependent test_uri (#18597) 9 years ago
utils minor spelling changes 9 years ago
vars Display proper error on group_vars syntax error 9 years ago
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 10 years ago
constants.py adds new module net_command for network devices (#19468) 9 years ago
release.py Bumping devel version to 2.3.0 9 years ago
test-requirements.txt Making the switch to v2 11 years ago