mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-03 23:01:48 +00:00
Fix list tags failure in podman_search (#875)
Fix #874 Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
4c84135f5d
commit
a77ca6ab85
2 changed files with 18 additions and 4 deletions
|
|
@ -12,6 +12,18 @@
|
|||
that:
|
||||
- info_0.images | length == 0
|
||||
|
||||
- name: Search for an invalid image with tags
|
||||
containers.podman.podman_search:
|
||||
term: registry.fedoraproject.org/invalidtermnope
|
||||
executable: "{{ test_executable | default('podman') }}"
|
||||
list_tags: true
|
||||
register: info_0_1
|
||||
|
||||
- name: Check results for no matching images
|
||||
assert:
|
||||
that:
|
||||
- info_0_1.images | length == 0
|
||||
|
||||
- name: Search for matching images
|
||||
containers.podman.podman_search:
|
||||
term: etcd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue