mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
recreate in another branch due to rebase problem (#5557)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
5d9986ab5f
commit
5323e232b2
@@ -81,7 +81,7 @@ class KubesprayInventory(object):
|
|||||||
if self.config_file:
|
if self.config_file:
|
||||||
try:
|
try:
|
||||||
self.hosts_file = open(config_file, 'r')
|
self.hosts_file = open(config_file, 'r')
|
||||||
self.yaml_config = yaml.load(self.hosts_file)
|
self.yaml_config = yaml.load_all(self.hosts_file)
|
||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user