aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-01-05 22:19:16 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-01-05 22:19:49 +0800
commit6db68b48dc6cec7614d58d97a0edef8ae2b82ff7 (patch)
tree1dfce5b13eb2cc9ff80af95c6bcf1421b203caf3
parent0dbc16c41646cbec79b65ec2ac60b8965cd22db9 (diff)
Retire `qtip-desk` server to save cost
info: this AWS instance hasn't been used much but costing 40$/month Change-Id: I50045eef42eadd656a54e4a0fa2a65f9a9c0c557 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
-rw-r--r--opt/servers/dev.yml10
-rw-r--r--opt/servers/inventory4
-rw-r--r--opt/servers/test.yml6
3 files changed, 6 insertions, 14 deletions
diff --git a/opt/servers/dev.yml b/opt/servers/dev.yml
deleted file mode 100644
index 2e0cca93..00000000
--- a/opt/servers/dev.yml
+++ /dev/null
@@ -1,10 +0,0 @@
----
-- hosts: development
- roles:
- - user
- - docker
- - elk
- - mongo
- - nginx
- - qtip
- - testapi
diff --git a/opt/servers/inventory b/opt/servers/inventory
index 0a862caa..1ba1dc45 100644
--- a/opt/servers/inventory
+++ b/opt/servers/inventory
@@ -1,8 +1,4 @@
-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)
-[development]
-desk
-
[testing]
table
diff --git a/opt/servers/test.yml b/opt/servers/test.yml
index 549b7255..ee3ded13 100644
--- a/opt/servers/test.yml
+++ b/opt/servers/test.yml
@@ -2,3 +2,9 @@
- hosts: testing
roles:
- user
+ - docker
+ - elk
+ - mongo
+ - nginx
+ - qtip
+ - testapi