mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-19 11:20:22 -07:00
Merge pull request #9586 from bcoca/galaxy_info_minor_fix
galaxy info minor fixes
This commit is contained in:
commit
ced016e70e
1 changed files with 1 additions and 2 deletions
|
@ -697,7 +697,7 @@ def execute_info(args, options, parser):
|
||||||
if install_info:
|
if install_info:
|
||||||
if 'version' in install_info:
|
if 'version' in install_info:
|
||||||
install_info['intalled_version'] = install_info['version']
|
install_info['intalled_version'] = install_info['version']
|
||||||
install_info.pop('version', None)
|
del install_info['version']
|
||||||
role_info.update(install_info)
|
role_info.update(install_info)
|
||||||
|
|
||||||
remote_data = api_lookup_role_by_name(api_server, role, False)
|
remote_data = api_lookup_role_by_name(api_server, role, False)
|
||||||
|
@ -714,7 +714,6 @@ def execute_info(args, options, parser):
|
||||||
|
|
||||||
if role_info:
|
if role_info:
|
||||||
print "- %s:" % (role)
|
print "- %s:" % (role)
|
||||||
import pprint
|
|
||||||
for k in sorted(role_info.keys()):
|
for k in sorted(role_info.keys()):
|
||||||
|
|
||||||
if k in SKIP_INFO_KEYS:
|
if k in SKIP_INFO_KEYS:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue