websoft9/apps/roles/graylog/tasks/main.yml
qiaofeng1227 645d5cb187 graylog
2022-07-14 13:48:01 +08:00

14 lines
479 B
YAML

- name: Install {{appname}}
include_tasks: tasks/install.yml
vars:
app: "graylog"
- name: wait for {{appname}} start
wait_for:
port: "{{nginx_reverse_proxy_port}}"
delay: 10
timeout: 120
- 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