Skip to content

Commit bdf5cee

Browse files
author
Anandkumar Patel
committed
test
1 parent f38651b commit bdf5cee

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

ansible/group_vars/alpha-navi.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: navi
33
container_image: registry.runnable.com/runnable/{{ name }}
44
container_tag: "{{ git_branch }}"
55
repo: git@github.com:CodeNow/{{ name }}.git
6-
hosted_ports: [ "{{ navi_http_port }}", "{{ navi_https_port }}" ]
6+
hosted_ports: [ "{{ navi_http_port }}" ]
77
node_version: "4.2.4"
88
npm_version: "2.8.3"
99

@@ -17,7 +17,6 @@ container_envs: >
1717
-e COOKIE_SECRET={{ navi_cookie_secret }}
1818
-e DATADOG_HOST={{ datadog_host_address }}
1919
-e DATADOG_PORT={{ datadog_port }}
20-
-e ENABLE_CLUSTERING=1
2120
-e ENABLE_LRU_CACHE=1
2221
-e ERROR_URL=http://{{ detention_host_address }}:{{ detention_port }}
2322
-e HTTP_PORT={{ hosted_ports[0] }}
@@ -44,7 +43,5 @@ container_run_opts: >
4443
-h {{ name }}
4544
-d
4645
-p {{ hosted_ports[0] }}:{{ hosted_ports[0] }}
47-
-p {{ hosted_ports[1] }}:{{ hosted_ports[1] }}
4846
-v {{ redis_ca_cert_path }}:{{ redis_ca_cert_path }}
49-
-v {{ content_domain_certs }}:{{ content_domain_certs }}
5047
{{ container_envs }}

ansible/navi.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@
1313
- role: notify
1414
rollbar_token: "{{ navi_rollbar_token }}"
1515
tags: [ notify ]
16-
- { role: builder, tags: [ build ] }
16+
# - { role: builder, tags: [ build ] }
1717
- { role: content-domain-certs }
1818
- { role: tls-server-ca, ca_dest: "{{ redis_ca_cert_path }}" }
19-
- { role: container_kill_start }
19+
- { role: container_start }
20+
- role: nginx-proxied-service
21+
tags: nginxx
22+
nginx_host: "{{ groups['userland'][0] }}"
23+
target_ip_address: "{{ hostvars[groups['userland'][0]]['ansible_default_ipv4']['address'] }}"
24+
templates: [ 01-navi.conf ]

ansible/roles/container_start/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
number_of_containers: 1
3030

3131
- debug:
32+
tags: deploy
3233
msg: starting this many containers -- {{ number_of_containers }}
3334

3435
- name: start new container

0 commit comments

Comments
 (0)