mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 08:43:10 +00:00
corrected failed_when test
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "'failed' not in result"
|
||||
- "'failed' in result and result.failed"
|
||||
|
||||
- name: command rc 0 failed_when_result False
|
||||
shell: exit 0
|
||||
|
||||
Reference in New Issue
Block a user