mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	- Renamed role `srv-tls-core` → `sys-svc-certs` - Renamed role `srv-https-stack` → `sys-stk-front-pure` - Renamed role `sys-stk-front` → `sys-stk-front-proxy` - Updated all includes, READMEs, meta, and dependent roles accordingly This improves clarity and consistency of naming conventions for certificate management and proxy orchestration. See: https://chatgpt.com/share/68b19f2c-22b0-800f-ba9b-3f2c8fd427b0
		
			
				
	
	
		
			19 lines
		
	
	
		
			683 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			683 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
- name: "Load wildcard certificate for domain"
 | 
						|
  include_tasks: "dedicated.yml"
 | 
						|
  vars:
 | 
						|
    wildcard_domain: true
 | 
						|
  when: 
 | 
						|
    - domain.split('.') | length == (PRIMARY_DOMAIN.split('.') | length + 1) and domain.endswith(PRIMARY_DOMAIN)
 | 
						|
    - run_once_receive_certificate is not defined  
 | 
						|
 | 
						|
- name: "Load dedicated certificate for domain"
 | 
						|
  include_tasks: "dedicated.yml"
 | 
						|
  vars:
 | 
						|
    wildcard_domain: false
 | 
						|
  when: 
 | 
						|
    - not (domain.split('.') | length == (PRIMARY_DOMAIN.split('.') | length + 1) and domain.endswith(PRIMARY_DOMAIN))
 | 
						|
 | 
						|
- name: run the receive_certificate tasks once
 | 
						|
  set_fact:
 | 
						|
    run_once_receive_certificate: true
 | 
						|
  when: run_once_receive_certificate is not defined |