Bug 2115686

Summary: [RFE] Provide a functionality in Satellite to import pre-existing Ansible playbooks into Job Templates
Product: Red Hat Satellite Reporter: Stefan Meyer <smeyer>
Component: Ansible - Configuration ManagementAssignee: aabramov
Status: CLOSED ERRATA QA Contact: addubey
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.11.0CC: bdm, oezr, vijsingh
Target Milestone: 6.12.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-16 13:35:05 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 Stefan Meyer 2022-08-05 06:57:43 UTC
1. Proposed title of this feature request
- [RFE] Provide a functionality in Satellite to import pre-existing Ansible playbooks into Job Templates

3. What is the nature and description of the request?
- The customer has 100+ Ansible playbooks to manage their RHEL estate
- The playbooks are used for ad-hoc daily management and are not feasable to include in any fixed Ansible roles

4. Why does the customer need this?
- Adding/migrating all playbooks manually into Job Templates is very time consuming
- New playbooks are created outside of the Satellite management regulary

5. How would the customer like to achieve this?
- We already demonstrated the functionality in the March foreman community demo [1] and this is what the customer
  is looking for

6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
- Provide an API functionality to import existing playbooks from any Capsule/proxy
- Provide a UI functionality  to import existing playbooks from any Capsule/proxy
- Allow to add the existing playbooks with a custom name, maybe add a "Custom" header

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?
- https://projects.theforeman.org/issues/34318

8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL8, RHEL9)?
- The customer requests an API functionality in Satellite 6.12 even if it is a Lab Feature / Tech Preview
- The UI functionality can be delayed to a later Satellite version

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

10. List any affected packages or components.
- foreman_ansible

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

Links:
[1] https://www.youtube.com/watch?v=ykQFM7aFczY&t=1788s

Comment 2 Bryan Kearney 2022-08-05 08:05:08 UTC
Upstream bug assigned to aabramov

Comment 3 Bryan Kearney 2022-08-05 08:05:09 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34318 has been resolved.

Comment 9 errata-xmlrpc 2022-11-16 13:35:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.12 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:8506