From 7664002bea84df8d0e9c634b01c3f5339dc6800d Mon Sep 17 00:00:00 2001 From: thienqb123456 Date: Mon, 23 Dec 2024 00:27:39 +0700 Subject: [PATCH] Thienvv - --- roles/deploy/tasks/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/deploy/tasks/deploy.yml b/roles/deploy/tasks/deploy.yml index a797403..f76cfba 100644 --- a/roles/deploy/tasks/deploy.yml +++ b/roles/deploy/tasks/deploy.yml @@ -20,7 +20,7 @@ - name: Check if the download was successful debug: - msg: "Download successful: {{ download_status.downloaded }}" + msg: "Download successful: {{ download_status.msg }}" # Kiểm tra ở trên server đã tồn tại file vùa tải xuống không - name: Check if the artifact file exists @@ -31,9 +31,9 @@ failed_when: false # Debug file_status -- name: Output file status +- name: Debug file_status debug: - msg: "Artifact downloaded: {{ file_status.stat.exists }}" + var: file_status # Giải nén artifact vào thư mục target