aboutsummaryrefslogtreecommitdiffstats
path: root/opt/servers/inventory
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-11-23 16:02:35 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2016-11-23 16:34:17 +0800
commitd1e4062604fdf9ff97959e396f6be4aac2c33478 (patch)
treee6075ed1414551b3d93f1c43a96d9bf7f6101aed /opt/servers/inventory
parent07ee28b71118469f3946a009a126b7c21267173e (diff)
Reorganize the inventory
- update server name and spec - group servers by usage - assign roles for each group - rename role ssh to user Change-Id: Ibc0a599adfabee296510f140319889775d9ae6cc Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'opt/servers/inventory')
-rw-r--r--opt/servers/inventory21
1 files changed, 6 insertions, 15 deletions
diff --git a/opt/servers/inventory b/opt/servers/inventory
index 65c6c35d..0a862caa 100644
--- a/opt/servers/inventory
+++ b/opt/servers/inventory
@@ -1,17 +1,8 @@
-qtip-dev ansible_host=dev.qtip.io
-qtip-test ansible_host=test.qtip.io
+desk ansible_host=desk.qtip.io # 2vCPU/4GiB/16GiB (AWS us-east-1a)
+table ansible_host=table.qtip.io # 1vCPU/1024MB/100Mbps/40GB (Aliyun Hongkong B)
-[elk-servers]
-qtip-dev
+[development]
+desk
-[ngnix-servers]
-qtip-dev
-
-[qtip-servers]
-qtip-dev
-
-[testapi-servers]
-qtip-dev
-
-[mongo-servers]
-qtip-dev
+[testing]
+table