From a02cd6f001bb1e33f8bc0142318f5ec84fd04b29 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Mon, 9 Sep 2024 03:32:45 +0300 Subject: [PATCH] small fixes --- playbook.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index d3c4f9b..110641b 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -219,7 +219,7 @@ async: "{{ 60 * 45 }}" poll: "{{ 60 * 5 }}" - - name: Pre-up docker up + - name: Docker pre-up ansible.builtin.command: docker compose up -d args: chdir: "{{ ansible_env.HOME }}/basic-coin-prediction-node" @@ -241,7 +241,7 @@ delay: 30 until: container_status.stdout.find("all_running") != -1 - - name: Pre-up docker stop + - name: Docker stop (pre-up) ansible.builtin.command: docker compose stop args: chdir: "{{ ansible_env.HOME }}/basic-coin-prediction-node" @@ -406,7 +406,7 @@ async: "{{ 60 * 80 }}" poll: "{{ 60 * 5 }}" - - name: Check Docker container status + - name: Check Docker containers status ansible.builtin.shell: > if [ $(docker ps -q | wc -l) -eq $(docker ps -a -q | wc -l) ]; then echo "all_running";