Let clouds_yaml_path behave as documented (Override path to clouds.yaml file)

Change-Id: I01b38467c4bea5884cbbd04e1e3a2e7c6eeebfeb
This commit is contained in:
matthias-rabe
2025-01-24 16:09:53 +01:00
parent fef560eb5b
commit 283c342b10

View File

@@ -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)