This commit is contained in:
thienqb123456
2024-12-23 01:12:01 +07:00
parent d6788d42f8
commit 01c6239bfe
+2 -2
View File
@@ -20,10 +20,10 @@
#Lấy đường dẫn vật lý của iis site #Lấy đường dẫn vật lý của iis site
- name: Get the physical path of the current IIS site - name: Get the physical path of the current IIS site
win_command: | win_shell: |
Import-Module WebAdministration Import-Module WebAdministration
$site = Get-Website -Name "{{ iis_site_name }}" $site = Get-Website -Name "{{ iis_site_name }}"
$site.PhysicalPath $site.PhysicalPath
register: active_path register: active_path
- debug: - debug:
var: active_path var: active_path