This commit is contained in:
@@ -54,7 +54,7 @@
|
|||||||
containers: true
|
containers: true
|
||||||
containers_all: true
|
containers_all: true
|
||||||
register: host_info
|
register: host_info
|
||||||
until: (host_info.containers | selectattr('Config.Labels.com.docker.compose.project', 'equalto', project_name) | list | length) >= 2
|
until: host_info.containers is defined and (host_info.containers | length) >= 2
|
||||||
retries: 10
|
retries: 10
|
||||||
delay: 5
|
delay: 5
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user