mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-25 02:38:42 +08:00
22 lines
640 B
YAML
22 lines
640 B
YAML
- name: Install {{appname}}
|
|
include_tasks: tasks/install.yml
|
|
vars:
|
|
app: "elk"
|
|
|
|
- block:
|
|
- pause:
|
|
prompt: "Please login to Kibana UI and check it, then input Enter to continue"
|
|
echo: no
|
|
- name: Output elk version
|
|
shell: |
|
|
rm -f /tmp/containers_version.sh
|
|
wget -O /tmp/containers_version.sh https://raw.githubusercontent.com/Websoft9/StackHub/main/scripts/containers_version.sh
|
|
bash /tmp/containers_version.sh
|
|
sleep 20s
|
|
- name: Delete contains and images resources
|
|
shell: |
|
|
docker compose down -v
|
|
docker system prune --all --force
|
|
args:
|
|
chdir: /data/apps/elk
|