diff --git a/inventory/production/host_vars/acp-backend.yml b/inventory/production/host_vars/acp-backend.yml index 1f22b81..0b4c394 100644 --- a/inventory/production/host_vars/acp-backend.yml +++ b/inventory/production/host_vars/acp-backend.yml @@ -1,5 +1,7 @@ temp_dir: "E:\\deploy\\vpress\\temp" iis_site_name: "acp-api.kinhtedothi.vn" +app_pool_name: "acp-api.kinhtedothi.vn" + blue_path: "E:\\deploy\\acp\\be\\blue" green_path: "E:\\deploy\\acp\\be\\green" diff --git a/inventory/production/host_vars/acp-frontend.yml b/inventory/production/host_vars/acp-frontend.yml index 065f023..eaab606 100644 --- a/inventory/production/host_vars/acp-frontend.yml +++ b/inventory/production/host_vars/acp-frontend.yml @@ -1,4 +1,6 @@ temp_dir: "E:\\deploy\\vpress\\temp" iis_site_name: "tsht.kinhtedothi.vn" +app_pool_name: "tsht.kinhtedothi.vn" + blue_path: "E:\\deploy\\acp\\fe\\blue" green_path: "E:\\deploy\\acp\\fe\\green" \ No newline at end of file diff --git a/inventory/production/host_vars/hnt-portal-backend.yml b/inventory/production/host_vars/hnt-portal-backend.yml index 89a79f2..fc51b81 100644 --- a/inventory/production/host_vars/hnt-portal-backend.yml +++ b/inventory/production/host_vars/hnt-portal-backend.yml @@ -1,5 +1,7 @@ temp_dir: "E:\\deploy\\vpress\\temp" iis_site_name: "portal-api.hanoitimes.vn" +app_pool_name: "portal-api.hanoitimes.vn" + blue_path: "E:\\deploy\\portal\\be\\hnt\\blue" green_path: "E:\\deploy\\portal\\be\\hnt\\green" diff --git a/inventory/production/host_vars/hnt-portal-frontend.yml b/inventory/production/host_vars/hnt-portal-frontend.yml index 3e9cacc..79d6a16 100644 --- a/inventory/production/host_vars/hnt-portal-frontend.yml +++ b/inventory/production/host_vars/hnt-portal-frontend.yml @@ -1,4 +1,6 @@ temp_dir: "E:\\deploy\\vpress\\temp" iis_site_name: "hanoitimes.vn" +app_pool_name: "beta.hanoitimes.vn" + blue_path: "E:\\deploy\\portal\\fe\\hnt\\blue" green_path: "E:\\deploy\\portal\\fe\\hnt\\green" \ No newline at end of file diff --git a/inventory/production/host_vars/ktdt-portal-backend.yml b/inventory/production/host_vars/ktdt-portal-backend.yml index 6337099..f85b607 100644 --- a/inventory/production/host_vars/ktdt-portal-backend.yml +++ b/inventory/production/host_vars/ktdt-portal-backend.yml @@ -1,5 +1,7 @@ temp_dir: "E:\\deploy\\vpress\\temp" iis_site_name: "portal-api.kinhtedothi.vn" +app_pool_name: "portal-api.kinhtedothi.vn" + blue_path: "E:\\deploy\\portal\\be\\ktdt\\blue" green_path: "E:\\deploy\\portal\\be\\ktdt\\green" diff --git a/inventory/production/host_vars/ktdt-portal-frontend.yml b/inventory/production/host_vars/ktdt-portal-frontend.yml index 93380a1..829678f 100644 --- a/inventory/production/host_vars/ktdt-portal-frontend.yml +++ b/inventory/production/host_vars/ktdt-portal-frontend.yml @@ -1,4 +1,6 @@ temp_dir: "E:\\deploy\\vpress\\temp" iis_site_name: "beta.kinhtedothi.vn" +app_pool_name: "beta.kinhtedothi.vn" + blue_path: "E:\\deploy\\portal\\fe\\ktdt\\blue" green_path: "E:\\deploy\\portal\\fe\\ktdt\\green" \ No newline at end of file diff --git a/roles/deploy-be-acp/tasks/main.yml b/roles/deploy-be-acp/tasks/main.yml index 923ad83..c670363 100644 --- a/roles/deploy-be-acp/tasks/main.yml +++ b/roles/deploy-be-acp/tasks/main.yml @@ -28,7 +28,6 @@ name: iis_utils tasks_from: start_iis_app_pool.yml - - name: set_site_aspnetcore_environment import_role: name: iis_utils diff --git a/roles/deploy-be-portal/tasks/main.yml b/roles/deploy-be-portal/tasks/main.yml index 5eef374..c670363 100644 --- a/roles/deploy-be-portal/tasks/main.yml +++ b/roles/deploy-be-portal/tasks/main.yml @@ -23,6 +23,11 @@ name: iis_utils tasks_from: update_iis_physical_path.yml +- name: start_iis_app_pool + import_role: + name: iis_utils + tasks_from: start_iis_app_pool.yml + - name: set_site_aspnetcore_environment import_role: name: iis_utils diff --git a/roles/deploy-be-resource/tasks/main.yml b/roles/deploy-be-resource/tasks/main.yml index e406c7c..41dcf64 100644 --- a/roles/deploy-be-resource/tasks/main.yml +++ b/roles/deploy-be-resource/tasks/main.yml @@ -23,6 +23,11 @@ name: iis_utils tasks_from: update_iis_physical_path.yml +- name: start_iis_app_pool + import_role: + name: iis_utils + tasks_from: start_iis_app_pool.yml + - name: set_site_aspnetcore_environment import_role: name: iis_utils diff --git a/roles/deploy-fe-acp/tasks/main.yml b/roles/deploy-fe-acp/tasks/main.yml index 9fa9c57..ad56107 100644 --- a/roles/deploy-fe-acp/tasks/main.yml +++ b/roles/deploy-fe-acp/tasks/main.yml @@ -23,6 +23,11 @@ name: iis_utils tasks_from: update_iis_physical_path.yml +- name: start_iis_app_pool + import_role: + name: iis_utils + tasks_from: start_iis_app_pool.yml + diff --git a/roles/deploy-fe-portal/tasks/main.yml b/roles/deploy-fe-portal/tasks/main.yml index b024209..08104ed 100644 --- a/roles/deploy-fe-portal/tasks/main.yml +++ b/roles/deploy-fe-portal/tasks/main.yml @@ -23,4 +23,9 @@ name: iis_utils tasks_from: update_iis_physical_path.yml +- name: start_iis_app_pool + import_role: + name: iis_utils + tasks_from: start_iis_app_pool.yml +