Skip to content

Commit f30f2af

Browse files
committed
Add more fixes
1 parent 6dbe20d commit f30f2af

6 files changed

Lines changed: 11 additions & 9 deletions

File tree

ansible/big-poppa-http.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
- hosts: redis
23
- hosts: rabbitmq
34
- hosts: consul
45

ansible/big-poppa-worker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
- hosts: big-poppa
77
vars_files:
8-
- group_vars/alpha-big-poppa-http.yml
8+
- group_vars/alpha-big-poppa-worker.yml
99
roles:
1010
- role: notify
1111
rollbar_token: "{{ big_poppa_worker_rollbar_token }}"

ansible/gamma-hosts/variables

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ api_workers_rollbar_key=3edfe8fe4fd640ae9fdbbe08fcb9f121
1414
api_s3_context_bucket=runnable.context.resources.production-beta
1515

1616
[big-poppa:vars]
17-
big_poppa_port=80
18-
big_poppa_pg_user=big_poppa
19-
big_poppa_pg_pass=
17+
big_poppa_port=443
18+
big_poppa_pg_user=runnable
19+
big_poppa_pg_pass=otNjVXGGAEfoYd6snhHLc6oFQEfwhGBy
20+
big_poppa_pg_host=gamma-big-poppa.cnksgdqarobf.us-west-2.rds.amazonaws.com:32659
2021
big_poppa_github_token=e11a1264130fb62ce045bf03118bf123f980c205
2122
big_poppa_http_rollbar_token=1f1eeea0b1334aaeb50fb7bc4a43241a
2223
big_poppa_worker_rollbar_token=98cabb8440024e3a8242cf3220b802c9

ansible/group_vars/all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ api_url: https://{{ api_hostname }}
5656
pg_database: astral
5757

5858
# big-poppa
59-
big_poppa_pg_database: big-poppa
60-
big_poppa_pg_user: big-poppa
59+
big_poppa_pg_database: big_poppa
60+
big_poppa_pg_user: runnable
6161
big_poppa_hostname: big-poppa.{{ domain }}
6262

6363
# charon

ansible/group_vars/alpha-big-poppa-http.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ is_redis_update_required: 'yes'
1212

1313
# for container settings
1414
container_envs: >
15-
-e PORT={{ hosted_ports[0] }}
1615
-e DATADOG_HOST={{ datadog_host_address }}
1716
-e DATADOG_PORT={{ datadog_port }}
1817
-e GITHUB_TOKEN={{ big_poppa_github_token }}
18+
-e HTTPS_PORT={{ hosted_ports[0] }}
1919
-e INTERCOM_API_KEY={{ big_poppa_intercom_key | default('undefined') }}
2020
-e INTERCOM_APP_ID={{ big_poppa_intercom_id | default('undefined') }}
2121
-e NODE_ENV={{ node_env }}
22-
-e POSTGRES_CONNECT_STRING=postgres://{{ big_poppa_pg_user }}:{{ big_poppa_pg_pass }}@{{ pg_host }}/{{ big_poppa_pg_database }}
22+
-e POSTGRES_CONNECT_STRING=postgres://{{ big_poppa_pg_user }}:{{ big_poppa_pg_pass }}@{{ big_poppa_pg_host }}/{{ big_poppa_pg_database }}
2323
-e RABBITMQ_HOSTNAME={{ rabbit_host_address }}
2424
-e RABBITMQ_PASSWORD={{ rabbit_password }}
2525
-e RABBITMQ_PORT={{ rabbit_port }}

ansible/group_vars/alpha-big-poppa-worker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ container_envs: >
1414
-e NODE_ENV={{ node_env }}
1515
-e INTERCOM_API_KEY={{ big_poppa_intercom_key | default('undefined') }}
1616
-e INTERCOM_APP_ID={{ big_poppa_intercom_id | default('undefined') }}
17-
-e POSTGRES_CONNECT_STRING=postgres://{{ big_poppa_pg_user }}:{{ big_poppa_pg_pass }}@{{ pg_host }}/{{ big_poppa_pg_database }}
17+
-e POSTGRES_CONNECT_STRING=postgres://{{ big_poppa_pg_user }}:{{ big_poppa_pg_pass }}@{{ big_poppa_pg_host }}/{{ big_poppa_pg_database }}
1818
-e RABBITMQ_HOSTNAME={{ rabbit_host_address }}
1919
-e RABBITMQ_PASSWORD={{ rabbit_password }}
2020
-e RABBITMQ_PORT={{ rabbit_port }}

0 commit comments

Comments
 (0)