14 lines
494 B
YAML

- name: "include role for {{domain}} to receive certificates and do the modification routines"
include_role:
name: nginx-https-get-cert-modify-all
- name: "copy nginx domain configuration to {{ configuration_destination }}"
template:
src: "{{ vhost_template_src }}"
dest: "{{ configuration_destination }}"
notify: restart nginx
- name: "include the docker-oauth2-proxy role {{domain}}"
include_role:
name: docker-oauth2-proxy
when: final_oauth2_enabled | bool