mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	Refactored server roles for better readability
This commit is contained in:
		@@ -18,7 +18,7 @@
 | 
			
		||||
 | 
			
		||||
- name: "include role for {{ application_id }} to receive certs & do modification routines for {{ MATRIX_SYNAPSE_DOMAIN }}"
 | 
			
		||||
  include_role:
 | 
			
		||||
    name: srv-composer
 | 
			
		||||
    name: sys-util-csp-cert
 | 
			
		||||
  vars:
 | 
			
		||||
    domain:     "{{ MATRIX_SYNAPSE_DOMAIN }}"
 | 
			
		||||
    http_port:  "{{ MATRIX_SYNAPSE_PORT }}"
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
server {
 | 
			
		||||
    server_name {{ domain }};
 | 
			
		||||
    {% include 'roles/srv-letsencrypt/templates/ssl_header.j2' %}
 | 
			
		||||
    {% include 'roles/sys-svc-letsencrypt/templates/ssl_header.j2' %}
 | 
			
		||||
    
 | 
			
		||||
    # For the federation port
 | 
			
		||||
    listen {{ MATRIX_FEDERATION_PORT }} ssl default_server;
 | 
			
		||||
@@ -8,7 +8,7 @@ server {
 | 
			
		||||
 | 
			
		||||
    {% include 'roles/sys-front-inj-all/templates/server.conf.j2'%}
 | 
			
		||||
 | 
			
		||||
    {% include 'roles/srv-proxy-core/templates/location/html.conf.j2' %}
 | 
			
		||||
    {% include 'roles/sys-svc-proxy/templates/location/html.conf.j2' %}
 | 
			
		||||
 | 
			
		||||
    {% include 'roles/srv-proxy-core/templates/location/upload.conf.j2' %}
 | 
			
		||||
    {% include 'roles/sys-svc-proxy/templates/location/upload.conf.j2' %}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user