mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 09:00:26 +00:00
elastic
This commit is contained in:
parent
7e9965d936
commit
5070dd32f7
10 changed files with 3 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
- name: Install {{appname}}
|
||||
include_tasks: tasks/install.yml
|
||||
vars:
|
||||
app: "elk"
|
||||
app: "elastic"
|
||||
|
||||
- block:
|
||||
- pause:
|
||||
|
@ -9,9 +9,7 @@
|
|||
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
|
||||
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: |
|
||||
|
@ -19,4 +17,4 @@
|
|||
docker system prune --all --force
|
||||
docker network create websoft9
|
||||
args:
|
||||
chdir: /data/apps/elk
|
||||
chdir: /data/apps/elastic
|
Loading…
Reference in a new issue