Skip to content

Conversation

@oraNod
Copy link

@oraNod oraNod commented Nov 24, 2025

Roles need to have README.md files along with metadata otherwise galaxy-importer fails.

Running galaxy-importer results in WARNING: Could not get role description, no role metadata found and this exception: galaxy_importer.exceptions.ContentLoadError: No role readme found.

That appears to come from https://github.com/ansible/galaxy-importer/blob/888e9706f913af88ea903b269ef113444060fc0a/galaxy_importer/loaders/content.py#L250

I couldn't see anywhere in Ansible docs that it says README.md files are required for roles but galaxy-importer seems to enforce it. There is a section on the required metadata in docs here though: https://docs.ansible.com/projects/ansible/latest/playbook_guide/playbooks_reuse_roles.html

@oraNod
Copy link
Author

oraNod commented Nov 24, 2025

Tested in my fork with the certification checker workflow: https://github.com/oraNod/f5-bd-ansible-platform-modernization/actions/workflows/certification.yml

The first run is without any changes and reproduces the galaxy-importer error. @VDI-Tech-Guy FYI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant