- name: Include dependencies
  include_role:
    name: '{{ item }}'
  loop:
  - srv-web-7-6-https
  - dev-git
  
- name: "include role for {{ application_id }} to receive certs & do modification routines"
  include_role:
    name: srv-web-7-6-composer
  vars:
    http_port: "{{ ports.localhost.http[application_id] }}"

- name: "generate '{{ CDN_NGINX_FILE }}'"
  template:
    src: "nginx.conf.j2"
    dest: "{{ NGINX.DIRECTORIES.HTTP.SERVERS }}{{ CDN_NGINX_FILE }}"
  notify: restart openresty