18 lines
640 B
YAML
Raw Normal View History

- name: "include role nginx-modifier-all for {{domain}}"
include_role:
name: nginx-modifier-all
- name: "include role nginx-https-recieve-certificate for {{domain}}"
2025-02-15 17:43:36 +01:00
include_role:
name: nginx-https-recieve-certificate
- name: "copy nginx domain configuration to {{nginx.directories.http.servers}}{{domain}}.conf"
template:
src: "roles/nginx-docker-reverse-proxy/templates/domain.conf.j2"
dest: "{{nginx.directories.http.servers}}{{domain}}.conf"
notify: restart nginx
- name: "include the docker-oauth2-proxy role {{domain}}"
2025-01-26 16:14:30 +01:00
include_role:
name: docker-oauth2-proxy
when: oauth2_proxy_active | bool