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 2061346

Summary: [RFE] Additional path/location for roles on satellite except /etc/ansible/roles
Product: Red Hat Satellite Reporter: soham <smajumda>
Component: Ansible - Configuration ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Sam Bible <sbible>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.9.8CC: ehelms, oezr, thadzhie
Target Milestone: UnspecifiedKeywords: 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-05-30 08:36:27 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 soham 2022-03-07 13:05:53 UTC
Description of problem:


We would like to be able to create/edit Ansible roles without having to be the root user (or modifying ownership on locations currently owned by root). The two current locations are in /etc/ansible and /usr/share/ansible.

Having a semi-privileged area (for example, /opt/roles) which could be used by Satellite to contain these roles would allow us to do that. Ideally we would have more than one location (e.g. /opt/roles/client /opt/roles/server etc) which would be editable by different, non-root users/groups. Being able to add these locations and address them, persistently (after installer updates) would be beneficial and using a documented configuration setting to do this would be best.

adjusting the path in /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_ansible-3.0.1/lib/smart_proxy_ansible/role-reader.rb works but it will get over-written by installer.