edit nextcloud

This commit is contained in:
qiaofeng1227 2022-05-17 08:56:42 +08:00
parent 524b7f47fb
commit 61d4b79ac0
2 changed files with 5 additions and 2 deletions

View file

@ -0,0 +1,4 @@
- name: Config .env for start containers
shell: |
public_ip=`wget -O - https://download.websoft9.com/ansible/get_ip.sh | bash`
sed -i 's/APP_TRUST_URL=.*/APP_TRUST_URL=$public_ip/g' {{installpath}}/{{appname}}/.env

View file

@ -1,4 +1,3 @@
- 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
sudo echo "mysql version:" $(docker inspect nextcloud-db |grep -i mysql_version |cut -d= -f2) |sudo tee -a /data/logs/install_version.txt