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
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')