Skip to content

Commit 6786b48

Browse files
Merge pull request #474 from CodeNow/SAN-4260-update-userland
make userland its own thing, add userland to navi
2 parents 28b8cd6 + c24e353 commit 6786b48

7 files changed

Lines changed: 17 additions & 10 deletions

File tree

ansible/delta-hosts/hosts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ delta-bastion
33

44
[hipache]
55
delta-hipache httpsCheckForBackend80=false prependIncomingPort=true subDomainDepth=4
6-
delta-userland domain=runnableapp.com httpsCheckForBackend80=true prependIncomingPort=true subDomainDepth=3
6+
7+
[userland]
8+
delta-userland
79

810
[mongodb]
911
delta-mongo-a
@@ -138,6 +140,7 @@ shiva
138140
socket-server
139141
socket-server-proxy
140142
swarm-manager
143+
userland
141144
web
142145
worker
143146

ansible/epsilon-hosts/hosts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ epsilon-bastion
33

44
[hipache]
55
epsilon-hipache httpsCheckForBackend80=false prependIncomingPort=true subDomainDepth=4
6-
epsilon-userland domain=runnablecloud.com httpsCheckForBackend80=true prependIncomingPort=true subDomainDepth=3
6+
7+
[userland]
8+
epsilon-userland
79

810
[mongodb]
911
epsilon-mongo
@@ -132,6 +134,7 @@ shiva
132134
socket-server
133135
socket-server-proxy
134136
swarm-manager
137+
userland
135138
web
136139
worker
137140

ansible/gamma-hosts/hosts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ gamma-bastion
33

44
[hipache]
55
gamma-hipache httpsCheckForBackend80=false prependIncomingPort=true subDomainDepth=4
6-
gamma-userland domain=runnable.ninja httpsCheckForBackend80=true prependIncomingPort=true subDomainDepth=3
6+
7+
[userland]
8+
gamma-userland
79

810
[mongodb]
911
gamma-mongo-a
@@ -138,6 +140,7 @@ shiva
138140
socket-server
139141
socket-server-proxy
140142
swarm-manager
143+
userland
141144
web
142145
worker
143146

ansible/group_vars/all.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,6 @@ navi_mongo_port: 27017
174174
# local-vault
175175
vault_local_port: 31836
176176
vault_addr: http://127.0.0.1:{{ vault_local_port }}
177+
178+
# userland
179+
userland_host_address: "{{ hostvars[groups['userland'][0]]['ansible_default_ipv4']['address'] }}"

ansible/group_vars/alpha-navi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ container_envs: >
3232
-e REDIS_CACERT={{ redis_ca_cert_path }}
3333
-e REDIS_IPADDRESS={{ redis_host_address }}
3434
-e REDIS_PORT={{ redis_tls_port }}
35+
-e USERLAND_IP={{ userland_host_address }}
3536
{% if navi_intercom_api_key is defined %} -e INTERCOM_API_KEY={{ navi_intercom_api_key }} {% endif %}
3637
{% if navi_intercom_app_id is defined %} -e INTERCOM_APP_ID={{ navi_intercom_app_id }} {% endif %}
3738
{% if navi_new_relic_app_name is defined %} -e NEW_RELIC_APP_NAME={{ navi_new_relic_app_name }} {% endif %}

ansible/navi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- hosts: mongo-navi
55
- hosts: rabbitmq
66
- hosts: consul
7+
- hosts: userland
78

89
- hosts: navi
910
vars_files:

ansible/stage-hosts/hosts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,9 @@
22

33
[docks]
44

5-
[hipache]
6-
alpha-stage-userland-hipache domain=runnable2.net httpsCheckForBackend80=true prependIncomingPort=true subDomainDepth=3
7-
85
[targets]
96
localhost ansible_connection=local bastion_name=alpha-bastion
107

11-
[rabbitmq]
12-
delta-staging-data
13-
148
[redis]
159
delta-staging-data
1610

@@ -23,7 +17,6 @@ delta-staging-data
2317
[stage:children]
2418
dock
2519
docks
26-
hipache
2720
rabbitmq
2821
redis
2922
vault

0 commit comments

Comments
 (0)