small fixes

This commit is contained in:
vvzvlad 2024-09-09 03:32:45 +03:00
parent 7fdc0e7153
commit a02cd6f001

View File

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