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/modules/packaging/os
Ian Wienand b05a2c8a62 dnf: don't return fail_json['msg'] as list (#65302)
Although it's not enforced that fail_json['msg'] should be a string
[1], I think it is pretty strongly implied.

In this case the failure_response['msg'] is sent through as the
fail_json['msg'], and the trailing commas here turn it into a tuple.
It's not clear if this is a typo or intended, but it does cause
problems for callbacks that expect this as a string (e.g. [2]).

Since there seems no point to having these values as a tuple, remove
the trailing commas so they return a string as per everywhere else.

[1] 4c589661c2/lib/ansible/module_utils/basic.py (L2078)
[2] https://review.opendev.org/#/c/696081

(cherry picked from commit fc54ae9227)
6 years ago
..
__init__.py Some more module categorization. 9 years ago
apk.py Convert more http links to https. 8 years ago
apt.py Fixes #56832: Remove warning when falling back to apt-get if aptitude is missing. (#61782) 6 years ago
apt_key.py [backport][docs] Backportapalooza docs #2 (#62104) 6 years ago
apt_repo.py Add apt_repo module (#49187) 7 years ago
apt_repository.py apt_repository: Fix crash caused by cache.update() raising an IOError on timeout. (#51996) 7 years ago
apt_rpm.py Surround top-level function and class definitions with two blank lines. 8 years ago
dnf.py dnf: don't return fail_json['msg'] as list (#65302) 6 years ago
dpkg_selections.py Bulk fix DOCUMENTATION.author (Part 1) (#48934) 7 years ago
flatpak.py fix typos in modules (#62135) (#62169) 6 years ago
flatpak_remote.py flatpak_remote: Handle empty output in remote_exists (#52010) 7 years ago
homebrew.py Update homebrew.py (#59646) 7 years ago
homebrew_cask.py Update homebrew_cask example docs (#61637) 6 years ago
homebrew_tap.py homebrew_tap: fixes #40853 (#40863) 8 years ago
installp.py Fix module issues (#52209) 7 years ago
layman.py Use common functions for handling import errors (#51851) 7 years ago
macports.py Macports: Add upgrade parameter and replace update_ports with selfupdate (#45049) 7 years ago
openbsd_pkg.py Surround top-level function and class definitions with two blank lines. 8 years ago
opkg.py More validate module fixes (#39097) 8 years ago
package.py Backport/2.9/docs (#64073) 6 years ago
package_facts.py package_facts: check 'vital' and 'automated' values ('pkg' manager) (#62766) (#62825) 6 years ago
pacman.py pacman: fix package state detection (#51311) 7 years ago
pkg5.py A few small cosmetic changes 7 years ago
pkg5_publisher.py Clean up module documentation (#36909) 8 years ago
pkgin.py fix typos in modules (#62135) (#62169) 6 years ago
pkgng.py Returns reason on pkg update error (#44982) 8 years ago
pkgutil.py E325 Removal - Part II (#49196) 7 years ago
portage.py Modify/fix handling of noreplace option issue #55365 (#55967) 7 years ago
portinstall.py Module portinstall: use_packages is a bool (#47370) 7 years ago
pulp_repo.py [2.9] pulp_repo: renamed module tls client auth params to avoid overlaping with fetch_url (#65014) 6 years ago
redhat_subscription.py [2.9] Fix return value documentation (#63529) 6 years ago
rhn_channel.py fix typos in modules (#62135) (#62169) 6 years ago
rhn_register.py fix typos in modules (#62135) (#62169) 6 years ago
rhsm_release.py rename rhsm_repository_release to rhsm_release (#53430) 7 years ago
rhsm_repository.py fix typos in modules (#62135) (#62169) 6 years ago
rpm_key.py rpm_key - add fingerprint parameter (#58373) 7 years ago
slackpkg.py Convert more http links to https. 8 years ago
snap.py fix typos in modules (#62135) (#62169) 6 years ago
sorcery.py Update bare exceptions to specify Exception. 7 years ago
svr4pkg.py More validate module fixes (#39097) 8 years ago
swdepot.py remove some instances of `state: installed` (#53537) 7 years ago
swupd.py fix typos in modules (#62135) (#62169) 6 years ago
urpmi.py fix bug #47154 (#49881) 7 years ago
xbps.py Convert to reduced list of known types (#50010) 7 years ago
yum.py Backport/2.9/docs2 (#63250) 6 years ago
yum_repository.py Fix docs for yum_repository.py (#59068) 7 years ago
zypper.py Fix capitalization of SUSE (#60625) 7 years ago
zypper_repository.py Fix capitalization of SUSE (#60625) 7 years ago