---
- name: "include role for {{application_id}} to recieve certs & do modification routines"
  include_role:
    name: nginx-https-get-cert-modify-all
  vars:
    domain:     "{{domains[application_id]}}"
    http_port:  "{{ ports.localhost.http[application_id] }}"

- name: "generate {{domains[application_id]}}.conf"
  template: 
    src:  "nginx.conf.j2" 
    dest: "{{nginx.directories.http.servers}}{{domains[application_id]}}.conf"
  notify: restart nginx