This commit is contained in:
thienqb123456
2025-03-04 10:06:53 +07:00
parent c4d166d418
commit f94804e277
3 changed files with 24 additions and 26 deletions
+3 -1
View File
@@ -1,9 +1,11 @@
# Cập nhật PhysicalPath mới cho site IIS (green/blue)
- name: Update site IIS web application
win_iis_website:
name: "{{ iis_site_name }}"
physical_path: "{{ target_path }}"
- name: Set ASPNETCORE_ENVIRONMENT for IIS site
# Set ASPNETCORE_ENVIRONMENT cho site IIS
- name: Set ASPNETCORE_ENVIRONMENT for IIS site
win_shell: |
Import-Module WebAdministration
Add-WebConfigurationProperty -pspath "MACHINE/WEBROOT/APPHOST/{{ iis_site_name }}" `