Update main.yml

This commit is contained in:
qiaofeng1227 2022-05-11 14:34:51 +08:00 committed by GitHub
parent ae494b5be2
commit a3dfb82fb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,2 @@
- name: Check {{appname}} Version
shell: sudo echo "DiscuzQ version $(docker exec -it discuzq bash -c 'grep -rn "const VERSION =" /var/www/discuz/vendor/discuz/core/src/Foundation/Application.php | awk "{print \$5}" | tr -d ";"')" 1>> /data/logs/install_version.txt
- name: Check {{appname}} Service
shell: docker ps
register: check_{{appname}}_service
notify: check_{{appname}}_service