Skip to content

Commit 2854caa

Browse files
author
anandkumarpatel
committed
Merge pull request #260 from CodeNow/SAN-3289-API-Worker-Move
San 3289 api worker move
2 parents a38f5f3 + 7438fd2 commit 2854caa

4 files changed

Lines changed: 14 additions & 3 deletions

File tree

ansible/delta-hosts/hosts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ delta-web
2929
delta-services
3030

3131
[worker]
32-
delta-api
32+
delta-api-worker
3333

3434
[docks]
3535

@@ -95,6 +95,7 @@ bastion
9595
hipache
9696
mongodb
9797
api
98+
worker
9899
web
99100
redis
100101
redis-slave

ansible/gamma-hosts/hosts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ gamma-web
2929
gamma-services
3030

3131
[worker]
32-
gamma-api
32+
gamma-api-worker
3333

3434
[eru]
3535
gamma-services
@@ -95,6 +95,7 @@ bastion
9595
hipache
9696
mongodb
9797
api
98+
worker
9899
web
99100
redis
100101
redis-slave

ansible/workers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- hosts: redis
88
- hosts: swarm-manager
99

10-
- hosts: api
10+
- hosts: worker
1111
vars_files:
1212
- "group_vars/alpha-workers.yml"
1313
roles:

ssh/config

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ Host gamma-api
8282
Host gamma-api-us-west-2a
8383
ProxyCommand ssh -q ubuntu@gamma-bastion nc 10.4.7.170 22
8484

85+
Host gamma-api-worker
86+
ProxyCommand ssh -q ubuntu@gamma-bastion nc 10.4.4.212 22
87+
88+
Host gamma-api-worker-us-west-2a
89+
ProxyCommand ssh -q ubuntu@gamma-bastion nc 10.4.4.212 22
90+
8591
## Gamma MongoDB
8692
Host gamma-mongo-a
8793
ProxyCommand ssh -q ubuntu@gamma-bastion nc 10.4.7.56 22
@@ -164,6 +170,9 @@ Host delta-admin
164170
Host delta-api
165171
ProxyCommand ssh -q ubuntu@delta-bastion nc 10.8.5.212 22
166172

173+
Host delta-api-worker
174+
ProxyCommand ssh -q ubuntu@delta-bastion nc 10.8.6.132 22
175+
167176
Host delta-services
168177
ProxyCommand ssh -q ubuntu@delta-bastion nc 10.8.5.63 22
169178

0 commit comments

Comments
 (0)