I just tagged a new release for a legacy role of mine, went to import it on the new Galaxy website for the first time but was greeted with the following error:
===== LOADING ROLE =====
Importing with galaxy-importer 0.4.20
Determined role name to be ansible-role-netbox
Role loading failed! No role readme found
Traceback (most recent call last): File "/app/galaxy_ng/app/api/v1/tasks.py", line 427, in legacy_role_import result = import_legacy_role(checkout_path, namespace.name, importer_config, logger) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/venv/lib64/python3.11/site-packages/galaxy_importer/legacy_role.py", line 51, in import_legacy_role return _import_legacy_role(dirname, namespace, cfg, logger) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/venv/lib64/python3.11/site-packages/galaxy_importer/legacy_role.py", line 57, in _import_legacy_role data = LegacyRoleLoader(dirname, namespace, cfg, logger).load() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/venv/lib64/python3.11/site-packages/galaxy_importer/loaders/legacy_role.py", line 43, in load self.readme = self._load_readme() ^^^^^^^^^^^^^^^^^^^ File "/venv/lib64/python3.11/site-packages/galaxy_importer/loaders/legacy_role.py", line 99, in _load_readme raise exc.ImporterError("No role readme found") galaxy_importer.exceptions.ImporterError: No role readme found
Failed
Affected role: Ansible Galaxy
GitHub supports more README formats than just Markdown, and this role (as well as lae.proxmox) uses Asciidoc. I understand that Ansible Galaxy does not plan to support Asciidoc, but this should not be a reason to prevent role imports entirely. Is there a way to get around this that does not involve creating a README.md
file?
(Some more information that’s probably relevant can be found at hxxps://forum.ansible.com/t/namespaces-and-remotes-are-messed-up-since-the-update/2195/5 (link count restriction))