Authored by root

同步ufo组名称

@@ -41,8 +41,8 @@ @@ -41,8 +41,8 @@
41 with_items: 41 with_items:
42 - nameservers 42 - nameservers
43 - ufo-nginx 43 - ufo-nginx
44 - - ufo-fore  
45 - - ufo-platform 44 + - java-ufo-fore
  45 + - java-ufo-platform
46 46
47 47
48 - name: copy ufo api conf files to openresty 48 - name: copy ufo api conf files to openresty
@@ -63,7 +63,7 @@ http { @@ -63,7 +63,7 @@ http {
63 63
64 #ufo-gateway 64 #ufo-gateway
65 upstream ufogateway { 65 upstream ufogateway {
66 - {% for i in groups['ufo-fore'] %} 66 + {% for i in groups['java-ufo-fore'] %}
67 server {{ i }}:8080 max_fails=5 fail_timeout=3s; 67 server {{ i }}:8080 max_fails=5 fail_timeout=3s;
68 {% endfor %} 68 {% endfor %}
69 keepalive 32; 69 keepalive 32;
@@ -72,7 +72,7 @@ http { @@ -72,7 +72,7 @@ http {
72 72
73 # ufo-gateway 73 # ufo-gateway
74 upstream ufoplatform { 74 upstream ufoplatform {
75 - {% for i in groups['ufo-platform'] %} 75 + {% for i in groups['java-ufo-platform'] %}
76 server {{ i }}:8088 max_fails=5 fail_timeout=3s; 76 server {{ i }}:8088 max_fails=5 fail_timeout=3s;
77 {% endfor %} 77 {% endfor %}
78 78