Task #5930
Updated by bmbouter almost 5 years ago
There currently is a test for Using the ansible-cli to latest ansible-galaxy CLI, install a collection Collection by name. The docs for this are here: https://github.com/pulp/pulp_ansible/blob/master/pulp_ansible/tests/functional/api/collection/v2/test_consume_content.py#L62 https://pulp-ansible.readthedocs.io/en/latest/workflows/upload-collection.html#upload-a-collection-via-ansible-galaxy We This role should improve it in two ways: use python-bindings of pulp_ansible to: 1. Create a repository 2. Create a distribution to distribute that repository's latest content 3. Upload a Collection to the repository using the Pulp's upload facilities (not a Galaxy API) Then 1. Port Configure the pulp interactions CLI to be bindings based use that distribution 2. Move it to Install the 'functional/cli' folder per collection by calling the parent epic CLI using subprocess