mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 18:29:21 +00:00 
			
		
		
		
	Removed deathlock and optimized run_once settings for performance
This commit is contained in:
		| @@ -23,4 +23,6 @@ | ||||
|     system_service_tpl_exec_start_pre:  '/usr/bin/python {{ PATH_SYSTEM_LOCK_SCRIPT }} {{ SYS_SERVICE_GROUP_MANIPULATION | join(" ")  }} --ignore {{ SYS_SERVICE_BACKUP_DOCKER_2_LOC }} --timeout "{{ SYS_TIMEOUT_BACKUP_SERVICES }}"' | ||||
|     system_service_tpl_exec_start:      "/bin/sh -c '{{ BKP_DOCKER_2_LOC_EXEC }}'" | ||||
|     system_service_tpl_on_failure:      "{{ SYS_SERVICE_ON_FAILURE_COMPOSE }} {{ SYS_SERVICE_CLEANUP_BACKUPS_FAILED }}" | ||||
|     system_service_tpl_exec_start_post: "/usr/bin/systemctl start {{ SYS_SERVICE_CLEANUP_BACKUPS }}" | ||||
|     # system_service_tpl_exec_start_post: "/usr/bin/systemctl start {{ SYS_SERVICE_CLEANUP_BACKUPS }}" # Not possible to use it because it's a deathlock. Keep this line for documentation purposes | ||||
|  | ||||
| - include_tasks: utils/run_once.yml | ||||
| @@ -1,6 +1,5 @@ | ||||
| - block: | ||||
|     - include_tasks: 01_core.yml | ||||
|     - include_tasks: utils/run_once.yml | ||||
|   when:  | ||||
|     - run_once_sys_ctl_bkp_docker_2_loc is not defined | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user