websoft9/apps/roles/elk/tasks/main.yml
2022-08-01 17:19:52 +08:00

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