websoft9/apps/roles/metabase/tasks/main.yml
2022-05-16 14:30:59 +08:00

11 lines
472 B
YAML

- name: wait for {{appname}} start
wait_for:
port: "{{nginx_reverse_proxy_port}}"
delay: 10
timeout: 120
- name: Check {{appname}} Version
shell: |
sudo echo "metabase version:" $(curl https://api.github.com/repos/metabase/metabase/releases/latest |jq -r .tag_name) |sudo tee -a /data/logs/install_version.txt
sudo echo "mysql version:" $(docker inspect metabase-db |grep -i mysql_version |cut -d= -f2) |sudo tee -a /data/logs/install_version.txt