1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/library/packaging
Arkadi Shishlov 78f5c69a88 Use pkgng glob (-g) feature to allow installation of packages by wildcard.
Also solves the particular problem of installing packages that have multiple versions in the repo, but specifying the exact version would be troublesome:

$ pkg install -n dovecot
The following 2 packages will be installed:

	Installing dovecot: 1.2.17
	Reinstalling dovecot-2.2.6 (options changed)

$ pkg install -n dovecot-2.2.6
The following 1 packages will be installed:

	Reinstalling dovecot-2.2.6 (options changed)

$ pkg install -n -g dovecot-2*
The following 1 packages will be installed:

	Reinstalling dovecot-2.2.6 (options changed)
2013-11-15 13:28:14 +02:00
..
apt Fixes #4891 Catch unicodedecode errors from python-apt 2013-11-13 09:48:56 -05:00
apt_key Only remove leading '0x' from key ids, not all 0s 2013-10-30 11:50:34 +00:00
apt_repository Merge pull request #4440 from AndydeCleyre/patch-2 2013-11-07 06:46:13 -08:00
easy_install Obsolete attempts at determining the full path to the desired 2013-11-02 19:25:51 +00:00
gem Add executable parameter to find gem binary in gem module 2013-10-15 09:08:33 +02:00
homebrew Misc pep8 fixes 2013-10-19 13:03:15 -04:00
macports DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition) 2013-06-15 20:54:25 +02:00
npm Merge pull request #3199 from chrishoffman/doc_error 2013-06-16 19:28:12 -07:00
openbsd_pkg openbsd_pkg: Use ansible run_command(). 2013-07-20 17:45:07 +02:00
opkg DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition) 2013-06-15 20:54:25 +02:00
pacman Merge branch 'pacman_local' into pacman_local_plus_check 2013-08-17 17:56:33 -04:00
pip Merge pull request #4413 from jerm/ansible 2013-11-07 15:51:27 -05:00
pkgin Fix pkgin search (yielding wrong results under certain conditions, see inline comments). 2013-07-24 16:18:14 +02:00
pkgng Use pkgng glob (-g) feature to allow installation of packages by wildcard. 2013-11-15 13:28:14 +02:00
pkgutil Fix module formatting in the pkgutil module. 2013-10-07 08:24:02 -04:00
redhat_subscription Styling: misc pep8 2013-06-30 18:54:32 -04:00
rhn_channel changed deprecated channel_label attribute 2013-09-20 12:58:43 +02:00
rhn_register Added full path to rhnreg_ks command for working correctly with sudo. 2013-10-14 16:05:01 +02:00
rpm_key Fixing typos in is_keyid function definition and usage 2013-09-09 17:26:44 -05:00
svr4pkg Set required=false for answer_file in svr4pkg docstrings 2013-11-13 20:04:54 -05:00
swdepot Fix parameter typo in swdepot module 2013-11-13 19:57:39 -05:00
yum Remove examples of module antipattern of setting the choices array for boolean types. 2013-10-11 08:45:13 -04:00
zypper Remove examples of module antipattern of setting the choices array for boolean types. 2013-10-11 08:45:13 -04:00