websoft9/apps/roles/elk/tasks/main.yml

22 lines
613 B
YAML
Raw Normal View History

2022-07-08 17:00:21 +08:00
- name: Install {{appname}}
include_tasks: tasks/install.yml
vars:
app: "elk"
2022-08-01 14:39:08 +08:00
- name: Output elk version
shell: |
wget -O /tmp/containers_version.sh https://raw.githubusercontent.com/Websoft9/StackHub/main/scripts/containers_version.sh
bash /tmp/containers_version.sh
rm -f /tmp/containers_version.sh
2022-08-01 14:41:08 +08:00
- block:
- pause:
prompt: "Please login to Kibana UI and check it, then input Enter to continue"
echo: no
- name: Delete contains and images resources
shell: |
docker compose down -v
docker system prune --all --force
args:
chdir: /data/apps/elk