small fixes
This commit is contained in:
parent
7fdc0e7153
commit
a02cd6f001
@ -219,7 +219,7 @@
|
|||||||
async: "{{ 60 * 45 }}"
|
async: "{{ 60 * 45 }}"
|
||||||
poll: "{{ 60 * 5 }}"
|
poll: "{{ 60 * 5 }}"
|
||||||
|
|
||||||
- name: Pre-up docker up
|
- name: Docker pre-up
|
||||||
ansible.builtin.command: docker compose up -d
|
ansible.builtin.command: docker compose up -d
|
||||||
args:
|
args:
|
||||||
chdir: "{{ ansible_env.HOME }}/basic-coin-prediction-node"
|
chdir: "{{ ansible_env.HOME }}/basic-coin-prediction-node"
|
||||||
@ -241,7 +241,7 @@
|
|||||||
delay: 30
|
delay: 30
|
||||||
until: container_status.stdout.find("all_running") != -1
|
until: container_status.stdout.find("all_running") != -1
|
||||||
|
|
||||||
- name: Pre-up docker stop
|
- name: Docker stop (pre-up)
|
||||||
ansible.builtin.command: docker compose stop
|
ansible.builtin.command: docker compose stop
|
||||||
args:
|
args:
|
||||||
chdir: "{{ ansible_env.HOME }}/basic-coin-prediction-node"
|
chdir: "{{ ansible_env.HOME }}/basic-coin-prediction-node"
|
||||||
@ -406,7 +406,7 @@
|
|||||||
async: "{{ 60 * 80 }}"
|
async: "{{ 60 * 80 }}"
|
||||||
poll: "{{ 60 * 5 }}"
|
poll: "{{ 60 * 5 }}"
|
||||||
|
|
||||||
- name: Check Docker container status
|
- name: Check Docker containers status
|
||||||
ansible.builtin.shell: >
|
ansible.builtin.shell: >
|
||||||
if [ $(docker ps -q | wc -l) -eq $(docker ps -a -q | wc -l) ]; then
|
if [ $(docker ps -q | wc -l) -eq $(docker ps -a -q | wc -l) ]; then
|
||||||
echo "all_running";
|
echo "all_running";
|
||||||
|
Loading…
Reference in New Issue
Block a user