From c749135c634488024ff5c74505af5c1e50bdd4d4 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Thu, 12 Sep 2024 02:42:50 +0300 Subject: [PATCH] change playbook --- playbook.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 1dbd02e..1d899e1 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -428,15 +428,6 @@ - worker-1 - worker-2 - - name: Wait success send - ansible.builtin.shell: | - python3 logs_parser.py 30 - args: - chdir: "{{ ansible_env.HOME }}/basic-coin-prediction-node" - register: docker_logs_check - changed_when: false - failed_when: docker_logs_check.rc != 0 - - name: Check updater endpoint ansible.builtin.shell: | response=$(curl --silent --location --request GET http://localhost:8000/update) && \ @@ -464,6 +455,15 @@ failed_when: inference_shell_response.rc != 0 changed_when: false + - name: Wait success send + ansible.builtin.shell: | + python3 logs_parser.py 60 + args: + chdir: "{{ ansible_env.HOME }}/basic-coin-prediction-node" + register: docker_logs_check + changed_when: false + failed_when: docker_logs_check.rc != 0 + - name: Remove docker login credentials ansible.builtin.file: path: /root/.docker/config.json