ansible-navigator: ansible-navigator not able to list roles in a collection

ISSUE TYPE
  • Bug Report
SUMMARY

While we can list roles and check the documents for roles from automation hub, we cannot list roles with cli ansible-navigator (‘ansible-navigator collections’).

ANSIBLE-NAVIGATOR VERSION
ansible-navigator 1.1.0
CONFIGURATION
LOG FILE
STEPS TO REPRODUCE
  1. ansible-navigator collections
  2. select a collection with roles, for example ‘redhat.insights’. type the number to enter content list of the collection.
  3. check if all content of the selected collection shows roles.
EXPECTED RESULTS

expected: the roles in a collection should be shown.

ACTUAL RESULTS

actual: roles are missing from the content of the collection.

ADDITIONAL INFORMATION

As a comparison, please check following link for example collection to show roles in its content: https://console.redhat.com/ansible/automation-hub/repo/published/redhat/insights/content?showing=all automation hub shows roles ansible-navigator not showing roles

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26 (1 by maintainers)

Most upvoted comments

It seems the RPM uninstall doesn’t remove the directory it created, so when the pip installed version runs it finds that directory, even though it is empty, and tries to load from it. We are trying to get rid of the share directory entirely, which is the real long term fix, given that I’m not sure there is a reason to do anything right now. I think it would be rare for someone to be switching from RPM to pip, unless they are testing or developing…

@cidrblock Thanks for the explanation.