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

This commit is contained in:
Zuul 2025-05-13 19:23:34 +00:00 committed by Gerrit Code Review
commit 59b5b33557

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)