From bd41a70979bff780829189b9b9ce78e16a0dec18 Mon Sep 17 00:00:00 2001 From: thienqb123456 Date: Sat, 11 Jan 2025 19:50:57 +0700 Subject: [PATCH] =?UTF-8?q?Thienvv=20-=20ansible=20,=20th=C3=AAm=20host=20?= =?UTF-8?q?cho=20resource=20api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inventory/host_vars/prod-resource-backend.yml | 4 ++++ inventory/host_vars/uat-resource-backend.yml | 4 ++++ inventory/uat.ini | 3 +++ 3 files changed, 11 insertions(+) create mode 100644 inventory/host_vars/prod-resource-backend.yml create mode 100644 inventory/host_vars/uat-resource-backend.yml diff --git a/inventory/host_vars/prod-resource-backend.yml b/inventory/host_vars/prod-resource-backend.yml new file mode 100644 index 0000000..f804829 --- /dev/null +++ b/inventory/host_vars/prod-resource-backend.yml @@ -0,0 +1,4 @@ +temp_dir: "C:\\deploy\\vpress\\temp" +iis_site_name: "cdn-demo.kinhtedothi.vn" +blue_path: "C:\\deploy\\vpress\\resource\\blue" +green_path: "C:\\deploy\\vpress\\resource\\green" \ No newline at end of file diff --git a/inventory/host_vars/uat-resource-backend.yml b/inventory/host_vars/uat-resource-backend.yml new file mode 100644 index 0000000..2225d0f --- /dev/null +++ b/inventory/host_vars/uat-resource-backend.yml @@ -0,0 +1,4 @@ +temp_dir: "C:\\deploy\\vpress\\temp" +iis_site_name: "resource.vpress.vn" +blue_path: "C:\\deploy\\vpress\\resource\\blue" +green_path: "C:\\deploy\\vpress\\resource\\green" \ No newline at end of file diff --git a/inventory/uat.ini b/inventory/uat.ini index babb5c2..e9c0e02 100644 --- a/inventory/uat.ini +++ b/inventory/uat.ini @@ -4,6 +4,9 @@ uat-acp-backend ansible_host=123.30.172.34 ansible_user=jenkins_cicd ansible_pa [uat-portal-backend-webservers] uat-portal-backend ansible_host=123.30.172.34 ansible_user=jenkins_cicd ansible_password=Thienthien123@ ansible_connection=winrm ansible_port=5985 ansible_winrm_transport=ntlm ansible_winrm_server_cert_validation=ignore +[uat-resource-backend-webservers] +uat-resource-backend ansible_host=123.30.172.34 ansible_user=jenkins_cicd ansible_password=Thienthien123@ ansible_connection=winrm ansible_port=5985 ansible_winrm_transport=ntlm ansible_winrm_server_cert_validation=ignore + [uat-acp-frontend-webservers] uat-acp-frontend ansible_host=123.30.172.34 ansible_user=jenkins_cicd ansible_password=Thienthien123@ ansible_connection=winrm ansible_port=5985 ansible_winrm_transport=ntlm ansible_winrm_server_cert_validation=ignore