mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	Refactor systemctl services and categories due to alarm bugs
This commit restructures systemctl service definitions and category mappings. Motivation: Alarm-related bugs revealed inconsistencies in service and role handling. Preparation step: lays the groundwork for fixing the alarm issues by aligning categories, roles, and service templates.
This commit is contained in:
		@@ -16,7 +16,7 @@ This role is built on top of your existing `srv-web-7-4-core` role, and it autom
 | 
			
		||||
When you apply **srv-web-7-6-https**, it will:
 | 
			
		||||
 | 
			
		||||
1. **Include** the `srv-web-7-4-core` role to install and configure Nginx.  
 | 
			
		||||
2. **Clean up** any stale vHost files under `sys-cln-domains`.  
 | 
			
		||||
2. **Clean up** any stale vHost files under `sys-ctl-cln-domains`.  
 | 
			
		||||
3. **Deploy** the Let’s Encrypt challenge-and-redirect snippet from `srv-web-7-7-letsencrypt`.  
 | 
			
		||||
4. **Reload** Nginx automatically when any template changes.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
      name: '{{ item }}'
 | 
			
		||||
    loop:
 | 
			
		||||
    - srv-web-7-4-core
 | 
			
		||||
    - sys-cln-domains
 | 
			
		||||
    - sys-ctl-cln-domains
 | 
			
		||||
    - srv-web-7-7-letsencrypt
 | 
			
		||||
  - include_tasks: utils/run_once.yml
 | 
			
		||||
  when: run_once_srv_web_7_6_https is not defined
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user