diff --git a/inventory/host_vars/beta-portal-hnt-backend.yml b/inventory/host_vars/production-portal-hnt-backend.yml similarity index 81% rename from inventory/host_vars/beta-portal-hnt-backend.yml rename to inventory/host_vars/production-portal-hnt-backend.yml index 6e58c8e..dd0e381 100644 --- a/inventory/host_vars/beta-portal-hnt-backend.yml +++ b/inventory/host_vars/production-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_environment: "Hnt_Beta" \ No newline at end of file +aspnetcore_environment: "Hnt_Production" \ No newline at end of file diff --git a/inventory/uat/hosts.ini b/inventory/uat/hosts.ini new file mode 100644 index 0000000..e69de29 diff --git a/playbooks/uat/be/deploy_uat_portal_ktdt_be.yml b/playbooks/uat/be/deploy_uat_portal_ktdt_be.yml new file mode 100644 index 0000000..79c9458 --- /dev/null +++ b/playbooks/uat/be/deploy_uat_portal_ktdt_be.yml @@ -0,0 +1,8 @@ +- name: deploy_uat_portal_ktdt_be.yml + hosts: "uat-portal-backend" + pre_tasks: + - name: Include portal-specific variables + include_vars: "../inventory/host_vars/" + roles: + - deploy-be-portal + \ No newline at end of file