websoft9/apps/roles/elk/tasks/main.yml
2022-11-16 11:36:32 +08:00

23 lines
677 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
docker network create websoft9
args:
chdir: /data/apps/elk