mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Pull the link out of the alternatives output when not specified
Fixes #7414
This commit is contained in:
parent
2128949a78
commit
cbea442ec2
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue