try
Some checks failed
Deploy to ras-dan-01 / deploy (push) Failing after -25s

This commit is contained in:
2025-08-26 15:49:30 +02:00
parent 731016f241
commit 6e79e2e70e

View File

@@ -54,7 +54,7 @@
containers: true
containers_all: true
register: host_info
until: (host_info.containers | selectattr('Labels.com.docker.compose.project', 'equalto', project_name) | list | length) >= 2
until: (host_info.containers | selectattr('Config.Labels.com.docker.compose.project', 'equalto', project_name) | list | length) >= 2
retries: 10
delay: 5
@@ -65,7 +65,7 @@
- name: Verify that web and db services are running
ansible.builtin.assert:
that:
- (host_info.containers | selectattr('Labels.com.docker.compose.project', 'equalto', project_name) | selectattr('Names', 'match', '.*-web-.*') | first).State.Running
- (host_info.containers | selectattr('Labels.com.docker.compose.project', 'equalto', project_name) | selectattr('Names', 'match', '.*-db-.*') | first).State.Running
- (host_info.containers | selectattr('Config.Labels.com.docker.compose.project', 'equalto', project_name) | selectattr('Names', 'match', '.*-web-.*') | first).State.Running
- (host_info.containers | selectattr('Config.Labels.com.docker.compose.project', 'equalto', project_name) | selectattr('Names', 'match', '.*-db-.*') | first).State.Running