...
|
...
|
@@ -30,14 +30,14 @@ |
|
|
|
|
|
- name: copy vhosts conf files to nginx
|
|
|
template:
|
|
|
src: '{{ item }}'
|
|
|
src: 'templates/platform-nginx/vhost/{{ item }}'
|
|
|
dest: "{{ path }}/conf/vhost/"
|
|
|
backup: yes
|
|
|
with_items:
|
|
|
- 'templates/platform-nginx/vhost/admin.portal.yohobuy.com.conf'
|
|
|
- 'templates/platform-nginx/vhost/api.platform.yohoops.org.conf'
|
|
|
- 'templates/platform-nginx/vhost/shopmanage.yohobuy.com.conf'
|
|
|
- 'templates/platform-nginx/vhost/shops.yohobuy.com.conf'
|
|
|
- 'admin.portal.yohobuy.com.conf'
|
|
|
- 'api.platform.yohoops.org.conf'
|
|
|
- 'shopmanage.yohobuy.com.conf'
|
|
|
- 'shops.yohobuy.com.conf'
|
|
|
|
|
|
- name: update nginx upstream for nginx.conf
|
|
|
template:
|
...
|
...
|
|