diff --git a/inventory/host_vars/beta-portal-hnt-backend.yml b/inventory/host_vars/beta-portal-hnt-backend.yml index 624313b..6e58c8e 100644 --- a/inventory/host_vars/beta-portal-hnt-backend.yml +++ b/inventory/host_vars/beta-portal-hnt-backend.yml @@ -3,4 +3,4 @@ iis_site_name: "portal-api.hanoitimes.vn" blue_path: "C:\\deploy\\portal\\be\\hnt\\blue" green_path: "C:\\deploy\\portal\\be\\hnt\\green" -aspnetcore_environtment: "Hnt_Beta" \ No newline at end of file +aspnetcore_environment: "Hnt_Beta" \ No newline at end of file diff --git a/inventory/host_vars/beta-portal-ktdt-backend.yml b/inventory/host_vars/beta-portal-ktdt-backend.yml index 5c96051..0da89da 100644 --- a/inventory/host_vars/beta-portal-ktdt-backend.yml +++ b/inventory/host_vars/beta-portal-ktdt-backend.yml @@ -3,4 +3,4 @@ iis_site_name: "portal-api.kinhtedothi.vn" blue_path: "C:\\deploy\\portal\\be\\ktdt\\blue" green_path: "C:\\deploy\\portal\\be\\ktdt\\green" -aspnetcore_environtment: "Ktdt_Beta" \ No newline at end of file +aspnetcore_environment: "Ktdt_Beta" \ No newline at end of file diff --git a/inventory/host_vars/uat-portal-hnt-backend.yml b/inventory/host_vars/uat-portal-hnt-backend.yml index 7c45e7f..a023e8f 100644 --- a/inventory/host_vars/uat-portal-hnt-backend.yml +++ b/inventory/host_vars/uat-portal-hnt-backend.yml @@ -3,4 +3,4 @@ iis_site_name: "api-portal-2025" blue_path: "C:\\deploy\\vpress\\portal\\be\\blue" green_path: "C:\\deploy\\vpress\\portal\\be\\green" -aspnetcore_environtment: "Uat" \ No newline at end of file +aspnetcore_environment: "Uat" \ No newline at end of file diff --git a/inventory/host_vars/uat-portal-ktdt-backend.yml b/inventory/host_vars/uat-portal-ktdt-backend.yml index 7c45e7f..a023e8f 100644 --- a/inventory/host_vars/uat-portal-ktdt-backend.yml +++ b/inventory/host_vars/uat-portal-ktdt-backend.yml @@ -3,4 +3,4 @@ iis_site_name: "api-portal-2025" blue_path: "C:\\deploy\\vpress\\portal\\be\\blue" green_path: "C:\\deploy\\vpress\\portal\\be\\green" -aspnetcore_environtment: "Uat" \ No newline at end of file +aspnetcore_environment: "Uat" \ No newline at end of file diff --git a/roles/deploy-be-portal/tasks/setup.yml b/roles/deploy-be-portal/tasks/setup.yml index 2b5a8da..5433f9f 100644 --- a/roles/deploy-be-portal/tasks/setup.yml +++ b/roles/deploy-be-portal/tasks/setup.yml @@ -3,9 +3,9 @@ debug: var: iis_site_name -- name: Debug aspnetcore_environtment +- name: Debug aspnetcore_environment debug: - var: aspnetcore_environtment + var: aspnetcore_environment - name: Debug blue_path debug: @@ -24,7 +24,7 @@ assert: that: - iis_site_name is defined and iis_site_name | length > 0 - - aspnetcore_environtment is defined and aspnetcore_environtment | length > 0 + - aspnetcore_environment is defined and aspnetcore_environment | length > 0 - blue_path is defined and blue_path | length > 0 - nexus_url is defined and nexus_url | length > 0 - artifact_name is defined and artifact_name | length > 0