- 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