mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-07 13:53:15 +00:00
Added ci integration tests, updated return value documentation and
refactored to simplify code. Reverted changes such as function calls
and return values which would break backward compatibility with
previous collection releases.
Change-Id: Ibf934568f069c305747fc24fbb22ce3fc095286c
(cherry picked from commit c1a9794207)
12 lines
312 B
YAML
12 lines
312 B
YAML
---
|
|
- name: List all images # This will list at least the default cirros image of devstack
|
|
openstack.cloud.image_info:
|
|
cloud: "{{ cloud }}"
|
|
register: image_list_result
|
|
|
|
- name: Assert fields
|
|
assert:
|
|
that:
|
|
- item in image_list_result.openstack_images.0.keys()
|
|
loop: "{{ expected_fields }}"
|