- name: Copy create_users.sh to /opt/ template: src: create_users.sh dest: /opt/create_users.sh - name: Install {{appname}} include_tasks: tasks/install.yml vars: app: "metabase" - name: wait for {{appname}} start wait_for: port: "{{nginx_reverse_proxy_port}}" delay: 10 timeout: 120 - name: Check {{appname}} Version shell: | sudo echo "metabase version:" $(curl https://api.github.com/repos/metabase/metabase/releases/latest |jq -r .tag_name) |sudo tee -a /data/logs/install_version.txt sudo echo "mysql version:" $(docker inspect metabase-db |grep -i mysql_version |cut -d= -f2) |sudo tee -a /data/logs/install_version.txt