Actions
Bug #32339
closedhammer repository create needs to take a requirements file
Difficulty:
Triaged:
Yes
Description
$ hammer repository create --help|grep ansible --ansible-collection-auth-token ANSIBLE_COLLECTION_AUTH_TOKEN The token key to use for authentication. --ansible-collection-auth-url ANSIBLE_COLLECTION_AUTH_URL The URL to receive a session token from, e.g. used with Automation Hub. --ansible-collection-requirements ANSIBLE_COLLECTION_REQUIREMENTS Contents of requirement yaml file to sync from URL Possible value(s): 'ansible_collection', 'deb', 'docker', 'file', 'yum'
Notice that `--ansible-collection-requirements` takes in the contents as opposed to the file. A better option is to have the accept a `--ansible-collection-requirements-file` option and send the contents over.
Actions