Update main.yml

This commit is contained in:
qiaofeng1227 2022-06-30 15:46:45 +08:00 committed by GitHub
parent ea58de99c3
commit b7aa03fe5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@
- name: Check {{appname}} Version
shell: |
sudo echo -e "elk_version: `docker exec -it elk-elasticsearch bin/elasticsearch --version | awk -F ' ' '{print $2}'`" |sudo tee -a /data/logs/install_version.txt
sudo echo -e "elk_version: `docker exec -it elasticstack-elasticsearch bin/elasticsearch --version | awk -F ' ' '{print $2}'`" |sudo tee -a /data/logs/install_version.txt
- block:
- pause: