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
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
..
cli Fix using a URL for galaxy collection install (#65272) (#65432) 6 years ago
compat Update bundled copy of selectors2 from 1.1.0 to 1.1.1 (#55457) 7 years ago
config config manager str type vault source (#65023) (#65090) 6 years ago
errors [2.9] include_vars: Check NoneType for raw_params (#65301) 6 years ago
executor Windows coverage - output temp files with UTF-8 BOM (#65086) (#65088) 6 years ago
galaxy [2.9] collection: Provide additional info about collection name restriction (#65276) 6 years ago
inventory [stable-2.9] Account for empty strings when splitting the host pattern (#62442) (#62679) 6 years ago
module_utils [stable-2.9] Handle InternalError raised by cryptography when running in FIPS mode (#65477) 6 years ago
modules dnf: don't return fail_json['msg'] as list (#65302) 6 years ago
parsing [2.9] core: Handle empty extra vars in cli (#62240) 6 years ago
playbook Collection role relative deps (#61517) 6 years ago
plugins [2.9] Fix nxos_file_copy option value path validation (#65846) 6 years ago
template [stable-2.9] Do not treat AnsibleUndefined as being unsafe (#65202) (#65427) 6 years ago
utils [2.9] collection: Provide additional info about collection name restriction (#65276) 6 years ago
vars Use templating in HostVarsVars __repr__ (#64282) 6 years ago
__init__.py
constants.py removed previouslly deprecated settings (#55662) 7 years ago
context.py Become plugins (#50991) 7 years ago
release.py Update Ansible release version to v2.9.2.post0. 6 years ago