From b7aa03fe5ddd77c928d6e8d3c68730fe8dd4eab6 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Thu, 30 Jun 2022 15:46:45 +0800 Subject: [PATCH] Update main.yml --- apps/roles/elk/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/roles/elk/tasks/main.yml b/apps/roles/elk/tasks/main.yml index 93caf36f..51d949ab 100644 --- a/apps/roles/elk/tasks/main.yml +++ b/apps/roles/elk/tasks/main.yml @@ -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: