From 283c342b105a2172baf4d1cfa5b27c3451303df2 Mon Sep 17 00:00:00 2001 From: matthias-rabe Date: Fri, 24 Jan 2025 16:09:53 +0100 Subject: [PATCH] Let clouds_yaml_path behave as documented (Override path to clouds.yaml file) Change-Id: I01b38467c4bea5884cbbd04e1e3a2e7c6eeebfeb --- plugins/inventory/openstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inventory/openstack.py b/plugins/inventory/openstack.py index 7245c42e..dc29fa54 100644 --- a/plugins/inventory/openstack.py +++ b/plugins/inventory/openstack.py @@ -279,7 +279,7 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable): clouds_yaml_path = self.get_option('clouds_yaml_path') config_files = openstack.config.loader.CONFIG_FILES if clouds_yaml_path: - config_files += clouds_yaml_path + config_files = clouds_yaml_path + config_files config = openstack.config.loader.OpenStackConfig( config_files=config_files)