| |
@@ -9,9 +9,6 @@
|
| |
TEST_SUBJECTS:
|
| |
register: inventory
|
| |
delegate_to: localhost
|
| |
- - name: Assert merge-standard-inventory produces correct JSON inventory (list)
|
| |
+ - name: Assert merge-standard-inventory produces correct JSON inventory (empty)
|
| |
fail:
|
| |
- when: inventory.stdout|from_json|json_query('subjects.hosts')|type_debug != 'list'
|
| |
- - name: Assert merge-standard-inventory produces correct JSON inventory (length)
|
| |
- fail:
|
| |
- when: inventory.stdout|from_json|json_query('subjects.hosts')|length != 0
|
| |
+ when: inventory.stdout != '{}'
|
| |