mirror of https://github.com/ansible/ansible.git
replace - always return rc (#71963)
* Return rc=0 on success. Error handling in playbooks generally expects `rc` to be set to 0 when a module has not failed. Playbook authors should not have to check for the existence of `rc` first. * Use single definition and added changelog * Fix up tests with new return value Co-authored-by: Jordan Borean <jborean93@gmail.com>pull/77000/head
parent
b145732973
commit
d35bef68f5
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- replace - Always return ``rc`` to ensure return values are consistent - https://github.com/ansible/ansible/pull/71963
|
Loading…
Reference in New Issue