mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-03-26 21:43:02 +00:00
Merge "Let clouds_yaml_path behave as documented (Override path to clouds.yaml file)"
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user