Brian Coca
1426c3ba02
added missing GPL licences fixes #508
2016-12-08 11:33:26 -05:00
Toby Fleming
3293fe7231
Homebrew: Allow colons, direct check for outdated formula
2016-12-08 11:33:26 -05:00
Indrajit Raychaudhuri
e115f62a2d
homebrew: Also add 'formula' as alias for 'name' and reformat
2016-12-08 11:33:25 -05:00
Indrajit Raychaudhuri
c397dfe9ed
homebrew: Improve 'argument_spec' handling
...
- Remove choice list for boolean values in argument_spec and make it
more consistent with core modules
- Add 'package' alias and support for list type for 'name' parameter
- Added self as maintainer
2016-12-08 11:33:25 -05:00
Toshio Kuratomi
7ccd6a4de0
Change documented requirement from dnf to python-dnf as dnf could be taken to mean the command line tool.
...
Fixes #1032
2016-12-08 11:33:25 -05:00
Brian Coca
ae84177514
switched to use module loggigng
2016-12-08 11:33:24 -05:00
Brian Coca
a04972c79b
changed use_sudo to system_lib (kept alias) and expanded description to explain how it works
2016-12-08 11:33:24 -05:00
Milad Soufastai
c3c9f46ba4
Updating Description to provide better explanation of what the use_sudo flag does
2016-12-08 11:33:24 -05:00
Milad Soufastai
07a4ab2fc5
Adding the --sudo flag for CPANM use since the sudo: yes on the task doesn't work
2016-12-08 11:33:24 -05:00
ToBeReplaced
faee617b21
Fix fail_json call in _mark_package_install
2016-12-08 11:33:23 -05:00
Rene Moser
859b2f7948
composer: smarter arguments handling
...
To get all available options in json for each command, `composer help <command> --format=json` can be used. This allows us to simply parse the output and dynamically find out if an option is available. Neat!
2016-12-08 11:33:23 -05:00
Rene Moser
b9960c0172
composer: rename composer_install to composer_command
2016-12-08 11:33:23 -05:00
Rene Moser
61fcbe0d51
composer: simplify has_changed()
2016-12-08 11:33:23 -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
fa56777341
fixed a typo in swdepot module
2016-12-08 11:33:20 -05:00
Gerard Lynch
d17fa53764
fix param description rst syntax
2016-12-08 11:33:19 -05:00
timeraider4u
a7e088c683
added check_mode support
...
added support for the --check option during execution of the playbooks
2016-12-08 11:33:19 -05:00
Vlad Glagolev
c3d49d7db0
fixed a typo in pacman module
2016-12-08 11:33:19 -05:00
ToBeReplaced
ad54ce6125
Rewrite dnf module.
...
This fully implements all expected functionality of the dnf module.
Group removal may behave oddly due to hiccups in tagging groups as being
installed.
A pkg_types option could be added to specify the group package types.
2016-12-08 11:33:19 -05:00
ToBeReplaced
cdf603448a
Add support for state=latest and *
2016-12-08 11:33:19 -05:00
ToBeReplaced
337a1db62e
Add change reporting, enablerepo support, and gpgcheck.
...
disable_gpg_check was configured backwards, so it was toggled. Typos in
enablerepo/disablerepo are removed. fill_sack() calls are relocated to
occur after repo decisions. The "changed" key is now set for new
installations.
2016-12-08 11:33:19 -05:00
Igor Gnatenko
e178abb501
typo fix in oneliners
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-08 11:33:19 -05:00
Toshio Kuratomi
a1235d91a2
Fix nevra, fixes to docs and copyright info
2016-12-08 11:33:19 -05:00
Igor Gnatenko
e8f3059300
add ability to install packages
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-08 11:33:19 -05:00
Igor Gnatenko
7a6af06f8b
remove all and start from scratch
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
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
Brian Coca
5185dd3563
added version added
2016-12-08 11:33:17 -05:00
Brian Coca
bf7851d9ad
added version_added to new feature
2016-12-08 11:33:17 -05:00
Carl Meyer
66777d010b
Add 'production' option to bower module.
2016-12-08 11:33:17 -05:00
Kristian Koehntopp
2d9d474f23
update inline documentation
2016-12-08 11:33:13 -05:00
Kristian Koehntopp
2e80ff1898
add force= option to allow force installation/removal of packages
2016-12-08 11:33:13 -05:00
Andreas Skarmutsos Lindh
d2bcd4e8e7
quoted version_added
2016-12-08 11:33:12 -05:00
Andreas Skarmutsos Lindh
0e55b498ad
add version_added
2016-12-08 11:33:12 -05:00
Andreas Skarmutsos Lindh
4b0dc387ce
cpanm: add installdeps option
2016-12-08 11:33:12 -05:00
sirkubax
83b03752c5
QuickFix of issue 813
2016-12-08 11:33:11 -05:00
Mehmet Ali \"Mali\" Akmanalp
4a6c9dd5b3
Fixes issues where keys missing from bower output
...
Fixes #495
2016-12-08 11:33:09 -05:00
Brian Coca
f9a42f60c5
minor doc uptates
2016-12-08 11:33:07 -05:00
Kim Nørgaard
8a826d61e9
fixed a few issues pointed out by @resmo, pyflakes, pep8
2016-12-08 11:33:07 -05:00
Kim Nørgaard
7cc2cd7881
Add basic slackpkg support
2016-12-08 11:33:06 -05:00
Brian Coca
adf7132586
updated version_added
2016-12-08 11:33:06 -05:00
Kevin Brebanov
4d184a3d5b
Use the module's get_bin_path function to find 'apk' and reuse the return value in all functions
2016-12-08 11:33:06 -05:00
Kevin Brebanov
4d50f557bd
Modify 'name' argument to be of type 'list' in order to support 'with_items' looping
2016-12-08 11:33:06 -05:00
Kevin Brebanov
90a644c18d
Update documentation
2016-12-08 11:33:06 -05:00
Kevin Brebanov
95dc4ec5ec
Allow multiple packages to be installed at the same time
2016-12-08 11:33:06 -05:00
Kevin Brebanov
a5d604e151
Allow multiple packages to removed at the same time
2016-12-08 11:33:06 -05:00
Kevin Brebanov
69389f0cdc
Adding apk module
2016-12-08 11:33:06 -05:00
Alexander Gubin
3ccc50fcd5
zypper: Add local/remote rpm installation
...
Add remote rpm example
2016-12-08 11:33:06 -05:00
Thomas Bechtold
00a5c352ec
zypper_repository: Fix repo parsing for empty list
...
When no repositories are defined in zypper, the return code
of "zypper repos" is 6. Handle that case and don't fail
if zypper_repository has to deal with an empty repo list.
Fixes https://github.com/ansible/ansible-modules-extras/issues/795
2016-12-08 11:33:06 -05:00
Toshio Kuratomi
4a179b9a6e
Port layman to fetch_url
2016-12-08 11:33:05 -05:00
Michael Scherer
d031cd2998
Move examples to EXAMPLES variable
...
Partially fix #507
2016-12-08 11:33:03 -05:00
Charlie Root
e852df1c0a
Add rootdir option to pkgng
2016-12-08 11:33:03 -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
Toshio Kuratomi
de2f9ed5ff
Port maven_artifact to fetch_url
2016-12-08 11:33:02 -05:00
Mathew Davies
40f77fd07c
Add more examples
2016-12-08 11:33:00 -05:00
Mathew Davies
36c5ac65f7
Note that the plugin can't be updated once installed
2016-12-08 11:33:00 -05:00
Mathew Davies
752a24caa7
Move ansible util import to the bottom of the module
2016-12-08 11:33:00 -05:00
Mathew Davies
9b6ca2b248
Add default documentation for timeout
2016-12-08 11:33:00 -05:00
Mathew Davies
d2d3510d03
Add required property to version documentation
2016-12-08 11:33:00 -05:00
Mathew Davies
b4fb90439f
Remove debugging line
2016-12-08 11:33:00 -05:00
Mathew Davies
0d6cd1d8ab
Document defaults
2016-12-08 11:33:00 -05:00
Mathew Davies
8dc99baabf
Add Elasticsearch plugin module
2016-12-08 11:33:00 -05:00
Toshio Kuratomi
16cb0e979d
Tabs to spaces
...
Fixes #666
2016-12-08 11:33:00 -05:00
Toshio Kuratomi
a43a93315f
Add author github ID
2016-12-08 11:32:56 -05:00
Matt Martz
17b1edfa1c
Give dpkg_selections a .py file extension
2016-12-08 11:32:56 -05:00
Toshio Kuratomi
a206f3d89f
Fix bundler documentation
2016-12-08 11:32:56 -05:00
Tim Hoiberg
9b03eccbc1
Fixing typo
2016-12-08 11:32:55 -05:00
Tim Hoiberg
0ee7db13d9
Adding module to manage Ruby Gem dependencies via Bundler
2016-12-08 11:32:55 -05:00
Patrik Lundin
e5b975a472
openbsd_pkg: Update author mail address.
2016-12-08 11:32:55 -05:00
Andrew Udvare
acd4822d52
Fix comparison
2016-12-08 11:32:53 -05:00
Andrew Udvare
c21ced350d
--usepkgonly does not imply --getbinpkg
...
Add usepkg option to allow conditional building from source if binary
packages are not found
5a6de937cb (commitcomment-11755140)
https://wiki.gentoo.org/wiki/Binary_package_guide#Using_binary_packages
2016-12-08 11:32:53 -05:00
Dustin C. Hatch
90df50b045
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>
2016-12-08 11:32:53 -05:00
Dustin C. Hatch
c514a9a940
packaging/os/portage: Improve check mode handling
...
When running in check mode, the *portage* module always reports that no
changes were made, even if the requested packages do not exist on the
system. This is because it was erroneously expecting `emerge --pretend`
to produce the same output as `emerge` by itself would, and attempts to
parse it. This is not correct, for several reasons. Most specifically,
the string for which it is searching does not exist in the pretend
output. Additionally, `emerge --pretend` always prints the requested
packages, whether they are already installed or not; in the former case,
it shows them as reinstalls.
This commit adjusts the behavior to rely on `equery` alone when running
in check mode. If `equery` reports at least one package is not
installed, then nothing else is done: the system will definitely be
changed.
Signed-off-by: Dustin C. Hatch <dustin@hatch.name>
2016-12-08 11:32:53 -05:00
Brian Brazil
6b51454234
Add dpkg_selections module, that works with dpkg --get-selections and --set-selections.
...
This is mainly useful for setting packages to 'hold' to prevent them
from being automatically upgraded.
2016-12-08 11:32:51 -05:00
Greg DeKoenigsberg
c65a612d1f
Changes to author formatting, remove emails
2016-12-08 11:32:51 -05:00
NewGyu
80c75bd66f
fix cannot download SNAPSHOT version
2016-12-08 11:32:49 -05:00
jonathan.lestrelin
5c4415b821
Fix unused import and variable and correct documentation
2016-12-08 11:32:49 -05:00
jonathan.lestrelin
0452ddd85d
Add pear packaging module to manage PHP PEAR an PECL packages
2016-12-08 11:32:49 -05:00
Roman Vyakhirev
16e51e57f8
bower module. Non-interactive mode and allow-root moved to _exec, they should affect all commands
2016-12-08 11:32:48 -05:00
Roman Vyakhirev
414afb61df
composer module. ignore_platform_reqs option added.
2016-12-08 11:32:47 -05:00
Dagobert Michelsen
d744777425
svr4pkg: assume command worked only on known-to-be-good returncodes
2016-12-08 11:32:43 -05:00
Enric Lluelles
1780512ef5
Add slash to valid characters for packages
...
To allow it to download packes from taps, or external commands like
caskroom/cask/brew-cask
2016-12-08 11:32:43 -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
29692366aa
Bandaid dnf module to temporarily fix some major problems
...
- Backport config file handling from the DNF module rewrite #527
(Current config handling does not work with dnf and leads to
tracebacks when run as an unprivileged user).
- Make a mandatory requirement on yum-utils (for /usr/bin/repoquery)
because none of the fallback code works for dnf (it's unported yum API
code).
Both of these issues will be fixed better in the dnf rewrite when it is
feature complete.
Fixes #471
2016-12-08 11:32:42 -05:00
QuantumGhost
b67e4a19ab
Use expanduser to deal with path in bower module
...
So bower module can correctly handle path containing `~`
2016-12-08 11:32:42 -05:00
Toshio Kuratomi
efc63d9c40
Update module_utils "import" to the new-style
...
Fixes #505
2016-12-08 11:32:41 -05:00
Toshio Kuratomi
4f07e8b256
Many more doc fixes
2016-12-08 11:32:40 -05:00
Toshio Kuratomi
ec68f78556
Fix quoting for documentation build
2016-12-08 11:32:39 -05:00
Brian Coca
d344a3fde3
more string corrections
2016-12-08 11:32:39 -05:00
Brian Coca
2753cd186a
moar quotes
2016-12-08 11:32:39 -05:00
Greg DeKoenigsberg
ed2e3869ad
Typo in author
2016-12-08 11:32:39 -05:00
Toshio Kuratomi
a8c12ec097
Add python >= 2.6 to documented deps
2016-12-08 11:32:36 -05:00
Matt Martz
8bd5757720
Fix up modules that have python24 syntax error
2016-12-08 11:32:36 -05:00
Jeff Rizzo
81a646ddaf
Support both new and old pkgin versions by testing if '-p' flag exists.
2016-12-08 11:32:36 -05:00
Julien Vey
c5eb378677
Be consistent in the documentation
...
The documentation for the `state` field is not very clear.
It says possible values are "installed, uninstalled" and default value is "present"
The examples below alow uses `present` and `absent`.
This patch uses "absent" and "present" instead of "installed" and "uninstalled"
Moreover, this is consistent with other packaging modules, like homebrew itself
2016-12-08 11:32:35 -05:00
Roland Ramthun
c3ce2eb169
disable ask on sync action
2016-12-08 11:32:35 -05:00
Peter Oliver
c8c4305057
Add an accept_licenses option to pkg5 module
...
This accepts any software licences required by the package.
2016-12-08 11:32:33 -05:00