mirror of https://github.com/ansible/ansible.git
fix win_shell/win_command nonzero RC failure setting (#26443)
* as a result of recent core engine changes to ignore rc, modules are responsible to set `failed` on nonzero RC if they want that behavior * the `failed` filter currently triggers on nonzero RC, which caused the tests to false-pass * updated tests to explicitly check both rc and failed keys, as well as using the failed filter.pull/26448/head
parent
1d62283796
commit
08af853ee9
Loading…
Reference in New Issue