mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-08 11:17:17 +02:00
Shortened webserver to srv-web-
This commit is contained in:
19
roles/srv-web-proxy-domain/tasks/main.yml
Normal file
19
roles/srv-web-proxy-domain/tasks/main.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
- name: "include role for {{domain}} to receive certificates and do the modification routines"
|
||||
include_role:
|
||||
name: srv-web-composer
|
||||
|
||||
- name: "copy nginx domain configuration to {{ configuration_destination }}"
|
||||
template:
|
||||
src: "{{ vhost_template_src }}"
|
||||
dest: "{{ configuration_destination }}"
|
||||
notify: restart nginx
|
||||
|
||||
- name: "set oauth2_proxy_application_id (Needed due to lazzy loading issue)"
|
||||
set_fact:
|
||||
oauth2_proxy_application_id: "{{ application_id }}"
|
||||
when: applications | is_feature_enabled('oauth2',application_id)
|
||||
|
||||
- name: "include the web-app-oauth2-proxy role {{domain}}"
|
||||
include_role:
|
||||
name: web-app-oauth2-proxy
|
||||
when: applications | is_feature_enabled('oauth2',application_id)
|
Reference in New Issue
Block a user