Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2232418

Summary: [RFE] Ansible module to get global registration command register content host with Satellite
Product: Red Hat Satellite Reporter: agamare
Component: Ansible CollectionAssignee: Evgeni Golov <egolov>
Status: CLOSED MIGRATED QA Contact: Griffin Sullivan <gsulliva>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.12.0CC: ahumbe, dnagorny, dsinglet, egolov, ehelms, gsulliva, lstejska, mkalyat, myllynen, pcfe, rlavi, saydas, svigan, zhunting
Target Milestone: streamKeywords: FutureFeature, MigratedToJIRA, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ansible-collection-redhat-satellite-4.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-06 16:27:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description agamare 2023-08-16 18:52:02 UTC
Description of problem: CU has a requirement from RedHat to register the Content Host to the Satellite using ansible-playbook

1. Proposed title of this feature request
Ansible Playbook to register the content host with Satellite

2. What is the nature and description of the request?
As CU wanted to register multiple hosts, he need a playbook on satellite.

3. Why does the customer need this?
To automate the process using Ansible and Ansible Tower, so he can run the registration process on multiple hosts.

4. How would the customer like to achieve this?
CU wants an Ansible Playbook.

5. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

 
6. Is there already an existing RFE upstream or in Red Hat Bugzilla?
No
 
7. Does the customer have any specific timeline dependencies and which release would they like to target

 
8. Is the sales team involved in this request and do they have any additional input?

 
9. List any affected packages or components.

 
10. Would the customer be able to assist in testing this functionality if implemented?
Yes

Comment 2 Griffin Sullivan 2024-04-23 19:37:24 UTC
Verified on stream snap 55.0

Automation for the registration_command test playbook passed successfully.

Comment 3 Eric Helms 2024-06-06 16:27:44 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.