mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-14 01:34:51 -03:30
Introduce a timeout for package installation
Sometimes package installations can get into weird state and stuck for a very long time. Timeout the tasks to fail early, with a customizable timeout duration.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
---
|
||||
# number of times package install task should be retried
|
||||
pkg_install_retries: 4
|
||||
pkg_install_timeout: "{{ 5 * 60 }}"
|
||||
yum_repo_dir: /etc/yum.repos.d
|
||||
|
||||
@@ -63,3 +63,4 @@
|
||||
label: "{{ item.action_label }}"
|
||||
tags:
|
||||
- bootstrap_os
|
||||
timeout: "{{ pkg_install_timeout }}"
|
||||
|
||||
Reference in New Issue
Block a user