mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	Optimized more run_once routines for performance
This commit is contained in:
		| @@ -13,3 +13,4 @@ | ||||
|     system_service_tpl_exec_start_post: "/usr/bin/systemctl start {{ SYS_SERVICE_CLEANUP_ANONYMOUS_VOLUMES }}" | ||||
|     system_service_tpl_on_failure:      "{{ SYS_SERVICE_ON_FAILURE_COMPOSE }}" | ||||
|  | ||||
| - include_tasks: utils/run_once.yml | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
| - block: | ||||
|     - include_tasks: 01_core.yml | ||||
|     - include_tasks: utils/run_once.yml | ||||
|   when: run_once_sys_ctl_rpr_docker_hard is not defined | ||||
| @@ -10,3 +10,5 @@ | ||||
|     system_service_tpl_exec_start_pre:  "/usr/bin/python {{ PATH_SYSTEM_LOCK_SCRIPT }} {{ SYS_SERVICE_GROUP_MANIPULATION | join(' ')  }} --ignore {{ SYS_SERVICE_GROUP_CLEANUP| join(' ') }} {{ SYS_SERVICE_REPAIR_DOCKER_SOFT }} --timeout '{{ SYS_TIMEOUT_DOCKER_RPR_SOFT }}'" | ||||
|     system_service_tpl_exec_start: > | ||||
|       /bin/sh -c '{{ system_service_script_exec }} --manipulation-string "{{ SYS_SERVICE_GROUP_MANIPULATION | join(" ") }}" {{ PATH_DOCKER_COMPOSE_INSTANCES }}' | ||||
|  | ||||
| - include_tasks: utils/run_once.yml | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
| - block: | ||||
|     - include_tasks: 01_core.yml | ||||
|     - include_tasks: utils/run_once.yml | ||||
|   when: run_once_sys_ctl_rpr_docker_soft is not defined | ||||
		Reference in New Issue
	
	Block a user