1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Make alias autodetection for symlinked modules independent of glob() order. (#40293)

This commit is contained in:
Felix Fontein 2018-05-25 05:48:59 +02:00 committed by Adam Miller
parent 749e67fdf8
commit 2a29b2ff7f

View file

@ -251,7 +251,7 @@ def get_plugin_info(module_dir, limit_to=None, verbose=False):
module_info[module] = {'path': module_path,
'source': os.path.relpath(module_path, module_dir),
'deprecated': deprecated,
'aliases': set(),
'aliases': module_info[module].get('aliases', set()),
'metadata': metadata,
'doc': doc,
'examples': examples,