Bug #35442
closedSyncable exports not properly validated
Description
Description of problem:
Syncable exports are only available for yum and file repos. However the code tries to syncably export ansible repos also.
Found in - Katello 4.6
Steps to Reproduce:
1. Create and sync an ansible repo
2. Export the ansible repo syncably via the following command `hammer content-export complete repository --id=<ansible id> --format=syncable`
Actual results:
Misleading error along "This repo is not marked immediate and hence cant be exported"
Expected results:
Cannot Sync Ansible. Only yum or file is available
Additional info:
On a library export or a content view with a yum, file, ansible repositories the syncable export complains the same and ignores files and ansible.
We'd like it to ignore ansible with a better message but export file and yum.