Authored by Your Name

fix bug

... ... @@ -29,9 +29,15 @@
- platform-nginx
- name: copy vhosts conf files to nginx
copy:
src: 'templates/platform-nginx/vhost/'
template:
src: '{{ 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'
- name: update nginx upstream for nginx.conf
template:
... ...