From 37af3c17eb58d5c3c91c84901dfc882294d2c314 Mon Sep 17 00:00:00 2001 From: thienqb123456 Date: Mon, 23 Dec 2024 01:19:02 +0700 Subject: [PATCH] t --- roles/deploy/tasks/setup.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/deploy/tasks/setup.yml b/roles/deploy/tasks/setup.yml index afe9804..01e7d93 100644 --- a/roles/deploy/tasks/setup.yml +++ b/roles/deploy/tasks/setup.yml @@ -28,10 +28,10 @@ - debug: var: active_path -- name: Handle error if active_path is null - fail: - msg: "The IIS site active path could not be determined." - when: active_path.stdout is null +- name: Handle error if active_path is null + fail: + msg: "The IIS site active path could not be determined." + when: active_path.stdout is not defined or active_path.stdout == '' # Chuẩn hóa giá trị của active_path