change playbook

This commit is contained in:
vvzvlad 2024-09-12 02:42:50 +03:00
parent 1ee64fd824
commit c749135c63

View File

@ -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