mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-25 02:38:42 +08:00
21 lines
681 B
YAML
21 lines
681 B
YAML
- name: Copy create_users.sh to /opt/
|
|
template:
|
|
src: create_users.sh
|
|
dest: /opt/create_users.sh
|
|
|
|
- name: Install {{appname}}
|
|
include_tasks: tasks/install.yml
|
|
vars:
|
|
app: "metabase"
|
|
|
|
- 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
|