Project

General

Profile

Actions

Bug #32339

closed

hammer repository create needs to take a requirements file

Added by Partha Aji about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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 #1

Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Partha Aji
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/800 added
Actions #2

Updated by Partha Aji about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by Samir Jha about 3 years ago

  • Target version set to Katello 4.1.0
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF