From 5323e232b2d02960fbc6dba992a97f708399d2c5 Mon Sep 17 00:00:00 2001 From: gatolynx <55659853+gatolynx@users.noreply.github.com> Date: Sat, 18 Jan 2020 19:23:35 +0900 Subject: [PATCH] recreate in another branch due to rebase problem (#5557) --- contrib/inventory_builder/inventory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/inventory_builder/inventory.py b/contrib/inventory_builder/inventory.py index 7708412ea..2cd2494af 100644 --- a/contrib/inventory_builder/inventory.py +++ b/contrib/inventory_builder/inventory.py @@ -81,7 +81,7 @@ class KubesprayInventory(object): if self.config_file: try: 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: pass