Skip to content

Commit 17309c6

Browse files
committed
Merge pull request #213 from CodeNow/fixes
fixes for gamma
2 parents 94a9eef + 97bb2df commit 17309c6

4 files changed

Lines changed: 13 additions & 10 deletions

File tree

ansible/beta-hosts/variables

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ ansible_ssh_private_key_file=~/.ssh/oregon.pem
5050
datadog_host_address=10.20.1.59
5151
datadog_tags=env:beta
5252
domain=runnable-beta.com
53+
mongo_port=27000
5354
new_relic_license_key=338516e0826451c297d44dc60aeaf0a0ca4bfead
5455
node_env=production-beta
5556
pg_host=beta-infrastructure-db.cnksgdqarobf.us-west-2.rds.amazonaws.com

ansible/gamma-hosts/variables

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[api_group:vars]
22
api_aws_access_key_id=AKIAIDC4WVMTCGV7KRVQ
33
api_aws_secret_access_key=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
4-
api_github_client_id=baa5c868b6d17d7ae002
5-
api_github_client_secret=ad4f8527ae98d7eea15a32ee5abbead5c9a25abc
6-
api_github_deploy_keys_bucket=runnable.deploykeys.production-gamma
4+
api_github_client_id=b6072dc57062faca7fcb
5+
api_github_client_secret=ba73a9294dc4bfaa7ed02ba187f73918506e4293
6+
api_github_deploy_keys_bucket=runnable.deploykeys.production-beta
77
api_hello_runnable_github_token=88ddc423c2312d02a8bbcaad76dd4c374a30e4af
88
api_mixpanel_app_id=c41affa4b08818443365c526cbb51606
9-
api_mongo_auth=api:oW4c7x9Wiv28oiNBy2Bc
9+
api_mongo_auth=api:3f5210b8-8fe3-11e5-8e62-07b6eff19ecb
1010
api_mongo_database=gamma
11-
api_mongo_replset_name=gamma
11+
api_mongo_replset_name=gamma-rs0
1212
api_neo4j_auth=neo4j:oqGlRV1KTpaqbHDkdlJz
1313
api_new_relic_app_name=gamma-api-production
1414
api_rollbar_key=a90d9c262c7c48cfabbd32fd0a1bc61c
15-
api_s3_context_bucket=runnable.context.resources.production-gamma
15+
api_s3_context_bucket=runnable.context.resources.production-beta
1616

1717
[docks:vars]
1818
docker_config=docks
@@ -29,15 +29,15 @@ khronos_mongo_replset_name=gamma
2929
[optimus:vars]
3030
optimus_aws_access_id=AKIAJPA2ZYSVVA5V7XXQ
3131
optimus_aws_secret_id=5V70AUxfIyHeLvlYZe0xaYevDAdgTOWOn5G7nHlt
32-
optimus_github_deploy_keys_bucket=runnable.deploykeys.production-gamma
32+
optimus_github_deploy_keys_bucket=runnable.deploykeys.production-beta
3333

3434
[palantiri:vars]
3535
palantiri_rollbar_key=f675e9090d6f483ca4e742af2c7f2f83
3636

3737
[registry:vars]
38-
registry_s3_access_key=AKIAJZQHOFYKTZP52XCQ
38+
registry_s3_access_key=AKIAJK5EN7W6E62A3C3Q
3939
registry_s3_bucket=runnableimages.beta
40-
registry_s3_secret_key=iOKNwff7HhUnTmHxt1HrJj1lUkrccZTqWvrKi54C
40+
registry_s3_secret_key=ZFLePZdrHUNhTzuV4Ir/NgwPWOnU41Ur9DbH6UAp
4141
registry_s3_region=us-east-1
4242

4343
[shiva:vars]
@@ -60,6 +60,7 @@ ansible_ssh_private_key_file=~/.ssh/gamma.pem
6060
datadog_host_address=10.4.6.251
6161
datadog_tags=env:gamma
6262
domain=runnable-gamma.com
63+
mongo_port=27017
6364
new_relic_license_key=338516e0826451c297d44dc60aeaf0a0ca4bfead
6465
node_env=production-gamma
6566
pg_host=gamma-infrastructure-db.cnksgdqarobf.us-west-2.rds.amazonaws.com

ansible/group_vars/all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ mavis_port: 3000
7373
metis_port: 3000
7474

7575
# mongo
76-
mongo_hosts: "{% for host in groups['mongodb'] %}{{ hostvars[host]['ansible_default_ipv4']['address'] }}:27000{% if not loop.last %},{% endif %}{% endfor %}"
76+
mongo_hosts: "{% for host in groups['mongodb'] %}{{ hostvars[host]['ansible_default_ipv4']['address'] }}:{{ mongo_port }}{% if not loop.last %},{% endif %}{% endfor %}"
7777

7878
# navi
7979
navi_host_address: "{{ hostvars[groups['navi'][0]]['ansible_default_ipv4']['address'] }}"

ansible/prod-hosts/variables

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ ansible_ssh_private_key_file=~/.ssh/Test-runnable.pem
5050
datadog_host_address=10.0.1.239
5151
datadog_tags=env:alpha
5252
domain=runnable.io
53+
mongo_port=27000
5354
new_relic_license_key=338516e0826451c297d44dc60aeaf0a0ca4bfead
5455
node_env=production
5556
pg_host=alpha-production-db.czw5moz6rmpp.us-west-1.rds.amazonaws.com:30573

0 commit comments

Comments
 (0)