|
|
@ -122,7 +122,7 @@
|
|
|
|
- name: assert task failed correctly
|
|
|
|
- name: assert task failed correctly
|
|
|
|
assert:
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
that:
|
|
|
|
- async_result.ansible_job_id is match('j\d+\.\d+')
|
|
|
|
- async_result.ansible_job_id|basename is match('j\d+\.\d+')
|
|
|
|
- async_result.finished == 1
|
|
|
|
- async_result.finished == 1
|
|
|
|
- async_result is finished
|
|
|
|
- async_result is finished
|
|
|
|
- async_result is not changed
|
|
|
|
- async_result is not changed
|
|
|
@ -140,7 +140,7 @@
|
|
|
|
- name: validate response
|
|
|
|
- name: validate response
|
|
|
|
assert:
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
that:
|
|
|
|
- async_result.ansible_job_id is match('j\d+\.\d+')
|
|
|
|
- async_result.ansible_job_id|basename is match('j\d+\.\d+')
|
|
|
|
- async_result.finished == 1
|
|
|
|
- async_result.finished == 1
|
|
|
|
- async_result is finished
|
|
|
|
- async_result is finished
|
|
|
|
- async_result.changed == false
|
|
|
|
- async_result.changed == false
|
|
|
@ -159,7 +159,7 @@
|
|
|
|
- name: validate response
|
|
|
|
- name: validate response
|
|
|
|
assert:
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
that:
|
|
|
|
- async_result.ansible_job_id is match('j\d+\.\d+')
|
|
|
|
- async_result.ansible_job_id|basename is match('j\d+\.\d+')
|
|
|
|
- async_result.finished == 1
|
|
|
|
- async_result.finished == 1
|
|
|
|
- async_result is finished
|
|
|
|
- async_result is finished
|
|
|
|
- async_result.changed == true
|
|
|
|
- async_result.changed == true
|
|
|
@ -176,7 +176,7 @@
|
|
|
|
- name: validate response
|
|
|
|
- name: validate response
|
|
|
|
assert:
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
that:
|
|
|
|
- async_result.ansible_job_id is match('j\d+\.\d+')
|
|
|
|
- async_result.ansible_job_id|basename is match('j\d+\.\d+')
|
|
|
|
- async_result.finished == 1
|
|
|
|
- async_result.finished == 1
|
|
|
|
- async_result is finished
|
|
|
|
- async_result is finished
|
|
|
|
- async_result.changed == true
|
|
|
|
- async_result.changed == true
|
|
|
|