- name: "include task receive certbot certificate"
  include_role: 
    name: nginx-https-get-cert

- name: "Deploying NGINX redirect configuration for {{ domain }}"
  template:
    src:  redirect.domain.nginx.conf.j2
    dest: "{{ nginx.directories.http.servers }}{{ domain }}.conf"
  notify: restart nginx