mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
corrected failed_when test
This commit is contained in:
parent
df1268ed69
commit
140df20504
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
that:
|
that:
|
||||||
- "'failed' not in result"
|
- "'failed' in result and result.failed"
|
||||||
|
|
||||||
- name: command rc 0 failed_when_result False
|
- name: command rc 0 failed_when_result False
|
||||||
shell: exit 0
|
shell: exit 0
|
||||||
|
|
Loading…
Reference in a new issue