mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 18:30:23 +08:00
21 lines
644 B
YAML
21 lines
644 B
YAML
- name: Install {{appname}}
|
|
include_tasks: tasks/install.yml
|
|
vars:
|
|
app: "elastic"
|
|
|
|
- block:
|
|
- pause:
|
|
prompt: "Please login to Kibana UI and check it, then input Enter to continue"
|
|
echo: no
|
|
- name: Output elk version
|
|
shell: |
|
|
echo "elk_version:" $(docker exec -i elastic-elasticsearch bin/elasticsearch --version | awk -F ' ' '{print $2}') |sudo tee -a /data/logs/install_version.txt
|
|
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/elastic
|