1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-07-07 11:08:59 +00:00

Make use of Jinja tests 'finished' (#43233)

And also used 'changed' and 'failed' tests while we are at it.
This commit is contained in:
Dag Wieers 2018-07-30 10:41:49 +02:00 committed by GitHub
parent 1bab901966
commit 12e7e9650e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 29 additions and 21 deletions

View file

@ -30,6 +30,7 @@
that:
- async_result.ansible_job_id is match('\d+\.\d+')
- async_result.finished == 1
- async_result.changed == true
- async_result is finished
- async_result is changed
- async_result is successful
- async_result.msg is search('succeeded')