mirror of https://github.com/ansible/ansible.git
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.pull/40095/merge
parent
def434b5c3
commit
caddf863df
Loading…
Reference in New Issue