From 32432807a3e660008c45c386c3cd15b730a17bd3 Mon Sep 17 00:00:00 2001 From: Rajasimman S Date: Wed, 24 Jul 2024 17:17:38 +0530 Subject: [PATCH] fix: host config updated --- hosts/dev | 24 +++++++----- hosts/prod | 106 +++++++++++++++++++++++++++-------------------------- hosts/qa | 22 ++++++----- hosts/uat | 58 +++++++++++++++-------------- 4 files changed, 113 insertions(+), 97 deletions(-) diff --git a/hosts/dev b/hosts/dev index e0faf9b..57b923d 100644 --- a/hosts/dev +++ b/hosts/dev @@ -1,11 +1,15 @@ +[all:vars] +ansible_port=9822 +host_key_checking=False + [all] -kb-dev-igotdb-p1 ansible_host=10.175.2.35 ansible_port=9822 -kb-dev-coredb-p1 ansible_host=10.175.2.36 ansible_port=9822 -kb-dev-kp-p1 ansible_host=10.175.2.37 ansible_port=9822 -kb-dev-ser-p3 ansible_host=10.175.2.38 ansible_port=9822 -kb-dev-ser-p1 ansible_host=10.175.2.39 ansible_port=9822 -kb-dev-ser-p2 ansible_host=10.175.2.40 ansible_port=9822 -kb-dev-druid-p1 ansible_host=10.175.2.41 ansible_port=9822 -kb-dev-jenkin-p1 ansible_host=10.175.2.42 ansible_port=9822 -kb-dev-dp-p1 ansible_host=10.175.2.55 ansible_port=9822 -kb-dev-jumphost-p1 ansible_host=10.175.2.56 ansible_port=9822 +kb-dev-igotdb-p1 ansible_host=10.175.2.35 +kb-dev-coredb-p1 ansible_host=10.175.2.36 +kb-dev-kp-p1 ansible_host=10.175.2.37 +kb-dev-ser-p3 ansible_host=10.175.2.38 +kb-dev-ser-p1 ansible_host=10.175.2.39 +kb-dev-ser-p2 ansible_host=10.175.2.40 +kb-dev-druid-p1 ansible_host=10.175.2.41 +kb-dev-jenkin-p1 ansible_host=10.175.2.42 +kb-dev-dp-p1 ansible_host=10.175.2.55 +kb-dev-jumphost-p1 ansible_host=10.175.2.56 diff --git a/hosts/prod b/hosts/prod index 96d4164..a0c74ff 100644 --- a/hosts/prod +++ b/hosts/prod @@ -1,52 +1,56 @@ +[all:vars] +ansible_port=9822 +host_key_checking=False + [all] -kb-prod-jumphost-p1 ansible_host=10.175.5.6 ansible_port=9822 -kb-prod-jenkins-p1 ansible_host=10.175.5.14 ansible_port=9822 -kb-prod-db-cass-p1 ansible_host=10.175.5.7 ansible_port=9822 -kb-prod-db-cass-p2 ansible_host=10.175.5.8 ansible_port=9822 -kb-prod-db-cass-p3 ansible_host=10.175.5.9 ansible_port=9822 -kb-prod-db-es-p1 ansible_host=10.175.5.10 ansible_port=9822 -kb-prod-db-es-p2 ansible_host=10.175.5.11 ansible_port=9822 -kb-prod-db-es-p3 ansible_host=10.175.5.12 ansible_port=9822 -kb-prod-db-es-p4 ansible_host=10.175.5.13 ansible_port=9822 -kb-prod-db-igot-es-p1 ansible_host=10.175.5.45 ansible_port=9822 -kb-prod-db-igot-es-p2 ansible_host=10.175.5.46 ansible_port=9822 -kb-prod-db-igot-es-p3 ansible_host=10.175.5.47 ansible_port=9822 -kb-prod-db-log-agg-es-p1 ansible_host=10.175.5.48 ansible_port=9822 -kb-prod-db-log-agg-es-p2 ansible_host=10.175.5.49 ansible_port=9822 -kb-prod-db-log-agg-es-p3 ansible_host=10.175.5.50 ansible_port=9822 -kb-prod-db-igot-pgsql-p1 ansible_host=10.175.5.15 ansible_port=9822 -kb-prod-db-sb-pgsql-p1 ansible_host=10.175.5.16 ansible_port=9822 -kb-prod-db-report-pgsql-p1 ansible_host=10.175.5.17 ansible_port=9822 -kb-prod-db-sb-neo4j-p1 ansible_host=10.175.5.18 ansible_port=9822 -kb-prod-db-kp-redis-p1 ansible_host=10.175.5.19 ansible_port=9822 -kb-prod-db-dp-redis-p1 ansible_host=10.175.5.20 ansible_port=9822 -kb-prod-db-mongo-p1 ansible_host=10.175.5.21 ansible_port=9822 -kb-prod-keycloak-p1 ansible_host=10.175.5.22 ansible_port=9822 -kb-prod-keycloak-p2 ansible_host=10.175.5.23 ansible_port=9822 -kb-prod-keycloak-p3 ansible_host=10.175.5.24 ansible_port=9822 -kb-prod-kp-learning-p1 ansible_host=10.175.5.25 ansible_port=9822 -kb-prod-kp-learning-p2 ansible_host=10.175.5.26 ansible_port=9822 -kb-prod-dp-kafka-p1 ansible_host=10.175.5.27 ansible_port=9822 -kb-prod-dp-kafka-p2 ansible_host=10.175.5.28 ansible_port=9822 -kb-prod-dp-kafka-p3 ansible_host=10.175.5.29 ansible_port=9822 -kb-prod-kp-kafka-p1 ansible_host=10.175.5.30 ansible_port=9822 -kb-prod-kp-kafka-p2 ansible_host=10.175.5.31 ansible_port=9822 -kb-prod-kp-kafka-p3 ansible_host=10.175.5.32 ansible_port=9822 -kb-prod-sb-druid-p1 ansible_host=10.175.5.33 ansible_port=9822 -kb-prod-sb-druid-p2 ansible_host=10.175.5.51 ansible_port=9822 -kb-prod-sb-druid-p3 ansible_host=10.175.5.52 ansible_port=9822 -kb-prod-sb-druid-p4 ansible_host=10.175.5.53 ansible_port=9822 -kb-prod-sb-druid-p5 ansible_host=10.175.5.54 ansible_port=9822 -kb-prod-sb-druid-p6 ansible_host=10.175.5.55 ansible_port=9822 -kb-prod-sb-druid-p7 ansible_host=10.175.5.61 ansible_port=9822 -kb-prod-sb-secor-p1 ansible_host=10.175.5.34 ansible_port=9822 -kb-prod-sb-spark-p1 ansible_host=10.175.5.35 ansible_port=9822 -kb-prod-db-sklm-pgsql-p1 ansible_host=10.175.5.36 ansible_port=9822 -kb-prod-db-sklm-druid-p1 ansible_host=10.175.5.37 ansible_port=9822 -kb-prod-db-sklm-druid-p2 ansible_host=10.175.5.56 ansible_port=9822 -kb-prod-db-sklm-druid-p3 ansible_host=10.175.5.57 ansible_port=9822 -kb-prod-db-sklm-druid-p4 ansible_host=10.175.5.58 ansible_port=9822 -kb-prod-db-sklm-druid-p5 ansible_host=10.175.5.59 ansible_port=9822 -kb-prod-sklm-mongo-p1 ansible_host=10.175.5.38 ansible_port=9822 -kb-prod-druid-wh-pgsql-p1 ansible_host=10.175.5.62 ansible_port=9822 -kb-prod-db-igot-neo4j-p1 ansible_host=10.175.5.63 ansible_port=9822 +kb-prod-jumphost-p1 ansible_host=10.175.5.6 +kb-prod-jenkins-p1 ansible_host=10.175.5.14 +kb-prod-db-cass-p1 ansible_host=10.175.5.7 +kb-prod-db-cass-p2 ansible_host=10.175.5.8 +kb-prod-db-cass-p3 ansible_host=10.175.5.9 +kb-prod-db-es-p1 ansible_host=10.175.5.10 +kb-prod-db-es-p2 ansible_host=10.175.5.11 +kb-prod-db-es-p3 ansible_host=10.175.5.12 +kb-prod-db-es-p4 ansible_host=10.175.5.13 +kb-prod-db-igot-es-p1 ansible_host=10.175.5.45 +kb-prod-db-igot-es-p2 ansible_host=10.175.5.46 +kb-prod-db-igot-es-p3 ansible_host=10.175.5.47 +kb-prod-db-log-agg-es-p1 ansible_host=10.175.5.48 +kb-prod-db-log-agg-es-p2 ansible_host=10.175.5.49 +kb-prod-db-log-agg-es-p3 ansible_host=10.175.5.50 +kb-prod-db-igot-pgsql-p1 ansible_host=10.175.5.15 +kb-prod-db-sb-pgsql-p1 ansible_host=10.175.5.16 +kb-prod-db-report-pgsql-p1 ansible_host=10.175.5.17 +kb-prod-db-sb-neo4j-p1 ansible_host=10.175.5.18 +kb-prod-db-dp-redis-p1 ansible_host=10.175.5.19 +kb-prod-db-kp-redis-p1 ansible_host=10.175.5.20 +kb-prod-db-mongo-p1 ansible_host=10.175.5.21 +kb-prod-keycloak-p1 ansible_host=10.175.5.22 +kb-prod-keycloak-p2 ansible_host=10.175.5.23 +kb-prod-keycloak-p3 ansible_host=10.175.5.24 +kb-prod-kp-learning-p1 ansible_host=10.175.5.25 +kb-prod-kp-learning-p2 ansible_host=10.175.5.26 +kb-prod-dp-kafka-p1 ansible_host=10.175.5.27 +kb-prod-dp-kafka-p2 ansible_host=10.175.5.28 +kb-prod-dp-kafka-p3 ansible_host=10.175.5.29 +kb-prod-kp-kafka-p1 ansible_host=10.175.5.30 +kb-prod-kp-kafka-p2 ansible_host=10.175.5.31 +kb-prod-kp-kafka-p3 ansible_host=10.175.5.32 +kb-prod-sb-druid-p1 ansible_host=10.175.5.33 +kb-prod-sb-druid-p2 ansible_host=10.175.5.51 +kb-prod-sb-druid-p3 ansible_host=10.175.5.52 +kb-prod-sb-druid-p4 ansible_host=10.175.5.53 +kb-prod-sb-druid-p5 ansible_host=10.175.5.54 +kb-prod-sb-druid-p6 ansible_host=10.175.5.55 +kb-prod-sb-druid-p7 ansible_host=10.175.5.61 +kb-prod-sb-secor-p1 ansible_host=10.175.5.34 +kb-prod-sb-spark-p1 ansible_host=10.175.5.35 +kb-prod-db-sklm-pgsql-p1 ansible_host=10.175.5.36 +kb-prod-db-sklm-druid-p1 ansible_host=10.175.5.37 +kb-prod-db-sklm-druid-p2 ansible_host=10.175.5.56 +kb-prod-db-sklm-druid-p3 ansible_host=10.175.5.57 +kb-prod-db-sklm-druid-p4 ansible_host=10.175.5.58 +kb-prod-db-sklm-druid-p5 ansible_host=10.175.5.59 +kb-prod-sklm-mongo-p1 ansible_host=10.175.5.38 +kb-prod-druid-wh-pgsql-p1 ansible_host=10.175.5.62 +kb-prod-db-igot-neo4j-p1 ansible_host=10.175.5.63 diff --git a/hosts/qa b/hosts/qa index b2a3612..f2b50d2 100644 --- a/hosts/qa +++ b/hosts/qa @@ -1,10 +1,14 @@ +[all:vars] +ansible_port=9822 +host_key_checking=False + [all] -kb-qa-jumphost-p1 ansible_host=10.175.3.45 ansible_port=9822 -kb-qa-igotdb-p1 ansible_host=10.175.3.36 ansible_port=9822 -kb-qa-coredb-p1 ansible_host=10.175.3.37 ansible_port=9822 -kb-qa-kp-p1 ansible_host=10.175.3.38 ansible_port=9822 -kb-qa-ser-p3 ansible_host=10.175.3.39 ansible_port=9822 -kb-qa-ser-p1 ansible_host=10.175.3.40 ansible_port=9822 -kb-qa-ser-p2 ansible_host=10.175.3.41 ansible_port=9822 -kb-qa-druid-p1 ansible_host=10.175.3.42 ansible_port=9822 -kb-qa-dp-p1 ansible_host=10.175.3.44 ansible_port=9822 +kb-qa-jumphost-p1 ansible_host=10.175.3.45 +kb-qa-igotdb-p1 ansible_host=10.175.3.36 +kb-qa-coredb-p1 ansible_host=10.175.3.37 +kb-qa-kp-p1 ansible_host=10.175.3.38 +kb-qa-ser-p3 ansible_host=10.175.3.39 +kb-qa-ser-p1 ansible_host=10.175.3.40 +kb-qa-ser-p2 ansible_host=10.175.3.41 +kb-qa-druid-p1 ansible_host=10.175.3.42 +kb-qa-dp-p1 ansible_host=10.175.3.44 diff --git a/hosts/uat b/hosts/uat index 7977514..9f45160 100644 --- a/hosts/uat +++ b/hosts/uat @@ -1,28 +1,32 @@ +[all:vars] +ansible_port=9822 +host_key_checking=False + [all] -kb-uat-jumphost-p1 ansible_host=10.175.4.7 ansible_port=9822 -kb-uat-jenkins-p1 ansible_host=10.175.4.8 ansible_port=9822 -kb-uat-db-cass-p1 ansible_host=10.175.4.9 ansible_port=9822 -kb-uat-db-cass-p2 ansible_host=10.175.4.10 ansible_port=9822 -kb-uat-db-cass-p3 ansible_host=10.175.4.11 ansible_port=9822 -kb-uat-db-es-p1 ansible_host=10.175.4.12 ansible_port=9822 -kb-uat-db-es-p2 ansible_host=10.175.4.13 ansible_port=9822 -kb-uat-db-es-p3 ansible_host=10.175.4.14 ansible_port=9822 -kb-uat-db-log-es-p1 ansible_host=10.175.4.15 ansible_port=9822 -kb-uat-db-igot-pgsql-p1 ansible_host=10.175.4.16 ansible_port=9822 -kb-uat-db-sb-pgsql-p1 ansible_host=10.175.4.17 ansible_port=9822 -kb-uat-db-sb-neo4j-p1 ansible_host=10.175.4.18 ansible_port=9822 -kb-uat-db-kp-redis-p1 ansible_host=10.175.4.19 ansible_port=9822 -kb-uat-db-dp-redis-p1 ansible_host=10.175.4.20 ansible_port=9822 -kb-uat-db-mongo-p1 ansible_host=10.175.4.21 ansible_port=9822 -kb-uat-keycloak-p1 ansible_host=10.175.4.22 ansible_port=9822 -kb-uat-keycloak-p2 ansible_host=10.175.4.23 ansible_port=9822 -kb-uat-keycloak-p3 ansible_host=10.175.4.24 ansible_port=9822 -kb-uat-kp-learning-p1 ansible_host=10.175.4.25 ansible_port=9822 -kb-uat-sb-kafka-p1 ansible_host=10.175.4.26 ansible_port=9822 -kb-uat-sb-kafka-p2 ansible_host=10.175.4.27 ansible_port=9822 -kb-uat-sb-kafka-p3 ansible_host=10.175.4.28 ansible_port=9822 -kb-uat-sb-druid-p1 ansible_host=10.175.4.29 ansible_port=9822 -kb-uat-sb-secor-p1 ansible_host=10.175.4.30 ansible_port=9822 -kb-uat-sb-spark-p1 ansible_host=10.175.4.31 ansible_port=9822 -kb-uat-db-sklm-pgsql-p1 ansible_host=10.175.4.32 ansible_port=9822 -kb-uat-sklm-druid-p1 ansible_host=10.175.4.33 ansible_port=9822 +kb-uat-jumphost-p1 ansible_host=10.175.4.7 +kb-uat-jenkins-p1 ansible_host=10.175.4.8 +kb-uat-db-cass-p1 ansible_host=10.175.4.9 +kb-uat-db-cass-p2 ansible_host=10.175.4.10 +kb-uat-db-cass-p3 ansible_host=10.175.4.11 +kb-uat-db-es-p1 ansible_host=10.175.4.12 +kb-uat-db-es-p2 ansible_host=10.175.4.13 +kb-uat-db-es-p3 ansible_host=10.175.4.14 +kb-uat-db-log-es-p1 ansible_host=10.175.4.15 +kb-uat-db-igot-pgsql-p1 ansible_host=10.175.4.16 +kb-uat-db-sb-pgsql-p1 ansible_host=10.175.4.17 +kb-uat-db-sb-neo4j-p1 ansible_host=10.175.4.18 +kb-uat-db-kp-redis-p1 ansible_host=10.175.4.19 +kb-uat-db-dp-redis-p1 ansible_host=10.175.4.20 +kb-uat-db-mongo-p1 ansible_host=10.175.4.21 +kb-uat-keycloak-p1 ansible_host=10.175.4.22 +kb-uat-keycloak-p2 ansible_host=10.175.4.23 +kb-uat-keycloak-p3 ansible_host=10.175.4.24 +kb-uat-kp-learning-p1 ansible_host=10.175.4.25 +kb-uat-sb-kafka-p1 ansible_host=10.175.4.26 +kb-uat-sb-kafka-p2 ansible_host=10.175.4.27 +kb-uat-sb-kafka-p3 ansible_host=10.175.4.28 +kb-uat-sb-druid-p1 ansible_host=10.175.4.29 +kb-uat-sb-secor-p1 ansible_host=10.175.4.30 +kb-uat-sb-spark-p1 ansible_host=10.175.4.31 +kb-uat-db-sklm-pgsql-p1 ansible_host=10.175.4.32 +kb-uat-sklm-druid-p1 ansible_host=10.175.4.33