Open evgeni opened 3 months ago
To add on, In case the format is syncable, We need to generate listing files in the exported content. When using hammer i.e.
hammer content-export complete library --organization-id 1 --format syncable
It takes care of the export and then does the generate-listing as well as generate-metadata action on that export but when using the redhat.satellite.content_export_*
ansible modules [ or their foreman alternatives ], The listing files are not generated at all [ also the metadata file ].
metadata + listing files -> both needed when we want to import the data via hammer content-import listing files only --> Needed when we want to copy the syncable export data in a webserver and use it as a Custom CDN to sync the data from.
SUMMARY
For an export to be usable, it needs a metadata.json (see content_export_info), but the examples do not mention that, or the info module at all, leaving users with unusable exports.
ISSUE TYPE