From 01c6239bfe043bce7d01b344240ee68f984e1628 Mon Sep 17 00:00:00 2001 From: thienqb123456 Date: Mon, 23 Dec 2024 01:12:01 +0700 Subject: [PATCH] Thienvv- --- roles/deploy/tasks/setup.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/deploy/tasks/setup.yml b/roles/deploy/tasks/setup.yml index 331acc4..afe9804 100644 --- a/roles/deploy/tasks/setup.yml +++ b/roles/deploy/tasks/setup.yml @@ -20,10 +20,10 @@ #Lấy đường dẫn vật lý của iis site - name: Get the physical path of the current IIS site - win_command: | + win_shell: | Import-Module WebAdministration $site = Get-Website -Name "{{ iis_site_name }}" - $site.PhysicalPath + $site.PhysicalPath register: active_path - debug: var: active_path