mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Pull the link out of the alternatives output when not specified
Fixes #7414
This commit is contained in:
@@ -109,6 +109,8 @@ def main():
|
|||||||
current_path = value
|
current_path = value
|
||||||
elif key == 'Alternative':
|
elif key == 'Alternative':
|
||||||
all_alternatives.append(value)
|
all_alternatives.append(value)
|
||||||
|
elif key == 'Link' and not link:
|
||||||
|
link = value
|
||||||
|
|
||||||
if current_path != path:
|
if current_path != path:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user