26 lines
856 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
2025-02-19 03:20:34 +01:00
- name: "Relevant variables for role: {{ role_path | basename }}"
debug:
msg:
oauth2_proxy_active: "{{oauth2_proxy_active}}"
domains: "{{domains}}"
applications: "{{applications}}"
when: enable_debug | bool
- name: "copy nginx domain configuration to {{configuration_destination}}"
template:
src: "roles/nginx-docker-reverse-proxy/templates/domain.conf.j2"
2025-02-19 03:20:34 +01:00
dest: "{{configuration_destination}}"
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