change playbook
This commit is contained in:
parent
1ee64fd824
commit
c749135c63
@ -428,15 +428,6 @@
|
|||||||
- worker-1
|
- worker-1
|
||||||
- worker-2
|
- 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
|
- name: Check updater endpoint
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
response=$(curl --silent --location --request GET http://localhost:8000/update) && \
|
response=$(curl --silent --location --request GET http://localhost:8000/update) && \
|
||||||
@ -464,6 +455,15 @@
|
|||||||
failed_when: inference_shell_response.rc != 0
|
failed_when: inference_shell_response.rc != 0
|
||||||
changed_when: false
|
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
|
- name: Remove docker login credentials
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /root/.docker/config.json
|
path: /root/.docker/config.json
|
||||||
|
Loading…
Reference in New Issue
Block a user