mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 03:52:05 +00:00
ci_complete
(cherry picked from commit b8afdc52b1)
This commit is contained in:
parent
1bdf09a81d
commit
4e172e3111
@ -75,7 +75,7 @@
|
||||
|
||||
- name: assert container is returned when filters are matched (single label)
|
||||
assert:
|
||||
that: "{{ output.containers | length }} == 1"
|
||||
that: "output.containers | length == 1"
|
||||
|
||||
- name: Get info on Docker host and list containers matching filters (multiple labels)
|
||||
docker_host_info:
|
||||
@ -88,7 +88,7 @@
|
||||
|
||||
- name: assert container is returned when filters are matched (multiple labels)
|
||||
assert:
|
||||
that: "{{ output.containers | length }} == 1"
|
||||
that: "output.containers | length == 1"
|
||||
|
||||
- name: Get info on Docker host and do not list containers which do not match filters
|
||||
docker_host_info:
|
||||
@ -102,7 +102,7 @@
|
||||
|
||||
- name: assert no container is returned when filters are not matched
|
||||
assert:
|
||||
that: "{{ output.containers | length }} == 0"
|
||||
that: "output.containers | length == 0"
|
||||
|
||||
- name: Get info on Docker host and list containers with verbose output
|
||||
docker_host_info:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user