mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-25 02:38:42 +08:00
6 lines
593 B
YAML
6 lines
593 B
YAML
|
- name: Check {{appname}} Version
|
||
|
shell: |
|
||
|
sudo echo -e "superset_version: `docker exec -it superset-app /bin/bash -c 'cat /app/superset-frontend/package.json |grep version |sed -n 1p |cut -d: -f 2'`" |sudo tee -a /data/logs/install_version.txt
|
||
|
sudo echo -e "postgres_version: `docker exec -it superset-db /bin/bash -c 'psql -V |cut -d " " -f 3'`" |sudo tee -a /data/logs/install_version.txt
|
||
|
sudo echo -e "redis_version: `docker exec -it superset-cache /bin/bash -c '/usr/local/bin/redis-server -v |cut -d " " -f 3 |cut -d "=" -f 2'`" |sudo tee -a /data/logs/install_version.txt
|