community.general/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.
2016-12-19 21:09:25 -05:00
..
cli show filename for module 2016-12-19 14:48:19 -05:00
compat Move py34 mock_open compat to compat/test/mock (#17157) 2016-08-19 18:11:24 -04:00
config
errors adds feature to all modules to be run locally (#18763) 2016-12-15 15:47:29 -05:00
executor adds feature to allow connection to set action plugin (#18762) 2016-12-15 15:47:39 -05:00
galaxy For container enabled role, display warning only when not ANSIBLE_CONTAINER (#18717) 2016-12-02 10:08:10 -05:00
inventory minor spelling changes 2016-12-13 13:51:13 -05:00
module_utils Better error msg for basic.get_bin_path() 2016-12-19 20:55:52 -05:00
modules Improve and optimise pacman package installation 2016-12-19 21:09:25 -05:00
parsing adds new module net_command for network devices (#19468) 2016-12-19 11:21:37 -05:00
playbook still needs static for task object 2016-12-16 23:52:11 -05:00
plugins Report detailed error when internal remote functions fail 2016-12-19 21:04:48 -05:00
template Fix AST nodes for Python 3 and enable dependent test_uri (#18597) 2016-12-13 07:37:39 -08:00
utils minor spelling changes 2016-12-13 13:51:13 -05:00
vars Display proper error on group_vars syntax error 2016-12-16 21:13:41 -05:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py adds new module net_command for network devices (#19468) 2016-12-19 11:21:37 -05:00
release.py Bumping devel version to 2.3.0 2016-10-03 11:46:31 -05:00
test-requirements.txt