mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-27 04:58:38 +08:00
14 lines
390 B
YAML
14 lines
390 B
YAML
|
- name: Install {{appname}}
|
||
|
include_tasks: tasks/install.yml
|
||
|
vars:
|
||
|
app: "portainer"
|
||
|
|
||
|
- name: wait for portainer start
|
||
|
wait_for:
|
||
|
port: "{{portainer_port}}"
|
||
|
delay: 10
|
||
|
timeout: 30
|
||
|
|
||
|
- name: Check portainer Version
|
||
|
shell: sudo echo "portainer version $(docker exec -i portainer bash -c 'cat /var/www/html/package.json | grep version')" 1>> /data/logs/install_version.txt
|