mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	Optimized alarm and system handlers
This commit is contained in:
		| @@ -42,3 +42,4 @@ | ||||
|     notify: refresh systemctl service | ||||
|     when: not system_service_uses_at | ||||
|   when: SYS_SERVICE_ALL_ENABLED | bool | ||||
|  | ||||
|   | ||||
| @@ -1,3 +1,9 @@ | ||||
| - name: "Reload sys-daemon handlers" | ||||
|   include_tasks: "{{ playbook_dir }}/tasks/utils/load_handlers.yml" | ||||
|   vars: | ||||
|     handler_role_name: "sys-daemon" | ||||
|   when: run_once_sys_service is defined | ||||
|  | ||||
| - block: | ||||
|   - include_tasks: 01_core.yml | ||||
|   - include_tasks: utils/run_once.yml | ||||
| @@ -7,6 +13,6 @@ | ||||
|   block: | ||||
|     - name: "Load base routine for '{{ system_service_id }}'" | ||||
|       include_tasks: 03_base.yml | ||||
|     - name: "Flush system handlers for '{{ system_service_id }}'" | ||||
|     - name: "Flush system service handlers for '{{ system_service_id }}'" | ||||
|       meta: flush_handlers | ||||
|   when: system_service_id is defined | ||||
|   when: system_service_id is defined | ||||
|   | ||||
		Reference in New Issue
	
	Block a user