File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 tags : [ datadog ]
2828
2929 - role : container_start
30- number_of_containers : " {{ ansible_processor_cores * 2 }}"
30+ number_of_containers : " {{ ansible_processor_cores }}"
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ socket-server
3232
3333[api]
3434delta-api
35+ delta-api-2
3536
3637[consul]
3738delta-consul-a
Original file line number Diff line number Diff line change @@ -3,4 +3,7 @@ init_config:
33instances:
44 # For every instance, you have an `nginx_status_url` and (optionally)
55 # a list of tags.
6- - nginx_status_url: http://{{ ansible_default_ipv4.address }}/basic_status
6+ - nginx_status_url: http://localhost/nginx_status
7+ tags:
8+ - service:ingress
9+ - env:delta
Original file line number Diff line number Diff line change 7373 src : mixpanel.tmpl
7474 dest : /etc/nginx/other-sites-enabled/mixpanel.conf
7575
76+ - name : put nginx status template in place
77+ tags : [ configure_proxy, configure_files ]
78+ become : yes
79+ template :
80+ src : nginx-status.conf
81+ dest : /etc/nginx/other-sites-enabled/nginx-status.conf
82+
7683- name : put api template in place
7784 tags : [ configure_proxy, configure_files ]
7885 become : yes
Original file line number Diff line number Diff line change 1+ server {
2+ listen 80;
3+ listen [::]:80;
4+ server_name localhost;
5+
6+ location /nginx_status {
7+ access_log off;
8+ stub_status on;
9+ }
10+ }
Original file line number Diff line number Diff line change @@ -136,6 +136,9 @@ Host 10.8.*.*
136136Host delta-api
137137 ProxyCommand ssh -q ubuntu@delta-bastion nc 10.8.14.25 22
138138
139+ Host delta-api-2
140+ ProxyCommand ssh -q ubuntu@delta-bastion nc 10.8.12.242 22
141+
139142Host delta-api-worker
140143 ProxyCommand ssh -q ubuntu@delta-bastion nc 10.8.14.24 22
141144
You can’t perform that action at this time.
0 commit comments