mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	Refactor CDN and run_once handling
- Move run_once include from main.yml to 01_core.yml in desk-gnome-caffeine and desk-ssh - Introduce sys-svc-cdn/01_core.yml to handle shared/vendor dirs once and role dirs per run - Replace cdn.* with cdn_paths_all.* across inj roles - Split cdn_dirs into cdn_dirs_role and CDN_DIRS_GLOBAL - Ensure cdn_urls uses cdn_paths_all Details: https://chatgpt.com/share/68b58d64-1e28-800f-8907-36926a9e9a9b
This commit is contained in:
		@@ -14,7 +14,7 @@
 | 
			
		||||
- name: Deploy default CSS files
 | 
			
		||||
  template:
 | 
			
		||||
    src:    "{{ ['css', item ~ '.j2'] | path_join }}"
 | 
			
		||||
    dest:   "{{ [cdn.shared.css, item] | path_join }}"
 | 
			
		||||
    dest:   "{{ [cdn_paths_all.shared.css, item] | path_join }}"
 | 
			
		||||
    owner:  "{{ NGINX.USER }}"
 | 
			
		||||
    group:  "{{ NGINX.USER }}"
 | 
			
		||||
    mode:   '0644'
 | 
			
		||||
 
 | 
			
		||||
@@ -5,4 +5,4 @@ CSS_COUNT:                  7
 | 
			
		||||
CSS_SHADES:                 100
 | 
			
		||||
 | 
			
		||||
# Variables
 | 
			
		||||
css_app_dst:                "{{ [cdn.role.release.css, 'style.css'] | path_join }}"
 | 
			
		||||
css_app_dst:                "{{ [cdn_paths_all.role.release.css, 'style.css'] | path_join }}"
 | 
			
		||||
		Reference in New Issue
	
	Block a user