Indrajit Raychaudhuri
f901e215ad
List pacman options aliases in documentation ( #2670 )
2016-12-08 11:34:38 -05:00
Matthew Gamble
b58eaca7e8
Remove dead code from pacman module
...
The manual check to see if get_bin_path() returned anything is
redundant, because we pass True to the required parameter of
get_bin_path(). This automatically causes the task to fail if the pacman
binary isn't available. Therefore, the code within the if statement
being removed is never called.
2016-12-08 11:33:59 -05:00
saez0pub
029b608e1e
Prevent reinstallation in case of group package
2016-12-08 11:33:56 -05:00
Will Keeling
876fe06290
Better handling of package groups in pacman module
2016-12-08 11:33:53 -05:00
Konstantin Shalygin
3956549e6c
Fix recurse delete. Add force update_cache feature.
2016-12-08 11:33:52 -05:00
Toshio Kuratomi
ad0d2c1747
Update for modules which import json.
...
Some do not use the json module directly so don't need import json.
Some needed to fallback to simplejson with no traceback if neither was installed
Fixes #1298
2016-12-08 11:33:44 -05:00
Marc Mettke
43d2e3ad68
Pacman Module Fixes
...
Update: query_package documentation
Fix: Number of Packages to Updated was one to high,
'cause of counting the '\n'
Fix: Pacman was reinstalling state=latest packages,
even when it was unable to load the remote version
2016-12-08 11:33:40 -05:00
Indrajit Raychaudhuri
42a28d92e2
Additional upgrade mode fixes for pacman module with check_mode safety - ensure upgrade option honors and actually supports `check_mode` - enabling just `upgrade` and `update_cache` should perform upgrade - example added for the equivalent for `pacman -Syu`
2016-12-08 11:33:22 -05:00
Indrajit Raychaudhuri
f10de6e47b
Add 'package' alias and support for list type for pacman 'name' parameter
2016-12-08 11:33:21 -05:00
Vlad Glagolev
c3d49d7db0
fixed a typo in pacman module
2016-12-08 11:33:19 -05:00
Indrajit Raychaudhuri
739ff5c807
pacman: Remove choice list for boolean values in arg spec This also makes argument_spec more consistent with core modules.
...
Added self as author.
2016-12-08 11:33:18 -05:00
Indrajit Raychaudhuri
fb268d58d9
Improve pacman module
...
- detect and use pacman_path via get_bin_path helper
- simplify pending upgrade detection
- apply outstanding changes from #358 , #41
2016-12-08 11:33:03 -05:00
Konstantin Shalygin
873c478853
add 'version_add'
2016-12-08 11:33:03 -05:00
Konstantin Shalygin
bf7498bc64
add force remove feature
2016-12-08 11:33:03 -05:00
Konstantin Shalygin
1776118aea
add upgrade future, patch by n0vember-
2016-12-08 11:33:03 -05:00
@RubenKelevra
b562dba1bf
change -Syy to -Sy
...
-Syy do always update, which is not needed, since the caches might already be up to date.
2016-12-08 11:32:42 -05:00
Toshio Kuratomi
ec68f78556
Fix quoting for documentation build
2016-12-08 11:32:39 -05:00
Daniel Newport
438a5a730e
use state=latest to ensure the latest version is installed. mimics functionality of the apt and yum modules.
2016-12-08 11:32:24 -05:00
Daniel Newport
3e7ab59eb4
fix pacman upgrade bug
2016-12-08 11:32:24 -05:00
Michael DeHaan
7d6ceb4f06
Reorganization.
2016-12-08 11:32:19 -05:00