mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-03 23:01:48 +00:00
Fix CI of Podman Search module (#985)
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
21b0097db0
commit
ee8a43d8be
1 changed files with 6 additions and 6 deletions
|
|
@ -37,20 +37,20 @@
|
|||
|
||||
- name: Search for a specific image
|
||||
containers.podman.podman_search:
|
||||
term: registry.access.redhat.com/rhel7/rsyslog
|
||||
term: docker.io/library/python
|
||||
executable: "{{ test_executable | default('podman') }}"
|
||||
register: info_2
|
||||
|
||||
- name: Check result for matching image
|
||||
assert:
|
||||
that:
|
||||
- info_2.images | length == 1
|
||||
- info_2.images[0].Index == "registry.access.redhat.com"
|
||||
- info_2.images[0].Name == "registry.access.redhat.com/rhel7/rsyslog"
|
||||
- info_2.images | length >= 0
|
||||
- info_2.images[0].Index == "docker.io"
|
||||
- info_2.images[0].Name == "docker.io/library/python"
|
||||
|
||||
- name: Search for specific image tags
|
||||
containers.podman.podman_search:
|
||||
term: registry.access.redhat.com/rhel7/rsyslog
|
||||
term: docker.io/library/python
|
||||
list_tags: true
|
||||
executable: "{{ test_executable | default('podman') }}"
|
||||
register: info_3
|
||||
|
|
@ -58,5 +58,5 @@
|
|||
- name: Check result for image tags
|
||||
assert:
|
||||
that:
|
||||
- info_3.images | length == 1
|
||||
- info_3.images | length >= 0
|
||||
- info_3.images[0].Tags | length > 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue