summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlicia Cozine <cozi@visi.com>2018-06-07 14:25:10 -0500
committerMatt Davis <nitzmahone@users.noreply.github.com>2018-06-07 12:25:10 -0700
commit723dcea33e15c196b829bc5e255e3d28291fc778 (patch)
tree52975681b30b705b2170962fc73dceb0c954e64f
parent609c7920729c641c69c0c553e485b46ce304c387 (diff)
downloadansible-723dcea33e15c196b829bc5e255e3d28291fc778.tar.gz
Make alias autodetection for symlinked modules independent of glob() order. (#40293) (#41266)
(cherry picked from commit 2a29b2ff7f0cbda712e88331b6f98a5e226000c0)
-rwxr-xr-xdocs/bin/plugin_formatter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/bin/plugin_formatter.py b/docs/bin/plugin_formatter.py
index 7d57f9c631..a6b0da78df 100755
--- a/docs/bin/plugin_formatter.py
+++ b/docs/bin/plugin_formatter.py
@@ -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,