From 678ed5ced5d4b8fae62b0012c43c06fffdee086f Mon Sep 17 00:00:00 2001 From: Sergey Date: Fri, 28 Feb 2020 12:56:38 +0300 Subject: [PATCH] fix upgrade procedure when in playbook (#5695) exists role kubernetes/preinstall and not exists role container-engine error 'yum_repo_dir' is undefined --- roles/kubernetes/preinstall/defaults/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/kubernetes/preinstall/defaults/main.yml b/roles/kubernetes/preinstall/defaults/main.yml index 29d007b9f..69fc2c9f0 100644 --- a/roles/kubernetes/preinstall/defaults/main.yml +++ b/roles/kubernetes/preinstall/defaults/main.yml @@ -55,3 +55,5 @@ etc_hosts_localhost_entries: # Minimal memory requirement in MB for safety checks minimal_node_memory_mb: 1024 minimal_master_memory_mb: 1500 + +yum_repo_dir: /etc/yum.repos.d