community.general/lib/ansible
Peter Oliver caddf863df pkg returns 4 for "nothing to do" (#23007)
* pkg returns 4 for "nothing to do"

We need to handle this because our own checking for whether there's anything to do returns false negatives in certain circumstances.

We need to rename the response `rc`, because that name is reserved by
Ansible to indicate a failure if it is non-zero.

Fixes ansible/ansible#22781 and ansible/ansible-modules-extras#932.

* Don't rename `rc` to to `pkg_rc`, and instead override the failure state.

* Drop mention of renamed variable in `pkg5` module.
2018-05-15 11:52:54 -04:00
..
cli Enabled unsafe and vault in JSON (#38759) 2018-05-09 14:01:51 -04:00
compat Enable wildcard import pylint (#35786) 2018-02-06 15:17:49 -08:00
config Revert "Configurable list of facts modules (#31783)" (#40022) 2018-05-14 13:46:14 -07:00
errors give hint to users when a file is not found 2018-04-10 17:19:03 -04:00
executor Revert "Configurable list of facts modules (#31783)" (#40022) 2018-05-14 13:46:14 -07:00
galaxy Allow the galaxy client to fetch from a url in role version data (#39396) 2018-04-30 15:47:43 -05:00
inventory Don't display host pattern warning for empty groups (fixes #35255) (#39927) 2018-05-09 14:13:48 -05:00
module_utils Infoblox ipv6 support feature (#39668) 2018-05-15 08:24:48 +05:30
modules pkg returns 4 for "nothing to do" (#23007) 2018-05-15 11:52:54 -04:00
parsing vault: check dir existence before creating a file (#40010) 2018-05-11 19:29:44 +02:00
playbook Deprecate private for include_role (#39821) 2018-05-08 10:31:56 -05:00
plugins become win: better error messages and docs update (#39936) 2018-05-15 09:33:36 +10:00
template Fix when template paths contain non-ascii chars and using the path in ansible_managed 2018-04-30 16:47:27 -07:00
utils nxos module doc fragment for authorize,auth_pass (#40074) 2018-05-14 17:23:26 +05:30
vars minimize loading files/plugins 2018-04-10 17:22:31 -04:00
__init__.py
constants.py centralize doc/config plugin lists (#38775) 2018-04-16 09:29:49 -04:00
release.py Fix version in lib/ansible/release.py 2018-02-09 04:47:31 -08:00