mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 23:20:23 +00:00
Update main.yml
This commit is contained in:
parent
8c294bde27
commit
350d5334fd
1 changed files with 6 additions and 1 deletions
|
@ -1,2 +1,7 @@
|
|||
- name: Check Discuzq Version
|
||||
- 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
|
||||
|
|
Loading…
Reference in a new issue