mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 00:50:30 +00:00
edit nextcloud
This commit is contained in:
parent
524b7f47fb
commit
61d4b79ac0
2 changed files with 5 additions and 2 deletions
4
apps/roles/nextcloud/tasks/Pre.yml
Normal file
4
apps/roles/nextcloud/tasks/Pre.yml
Normal 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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue