# vim: ft=yaml.ansible
---
- name: Upload vhost config for root domain
  copy:
    src: vhost/base_domain
    dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.data_coop_website.domain }}"

- name: Upload vhost config for WWW domain
  copy:
    src: vhost/www.base_domain
    dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.data_coop_website.www_domain }}"