Bug 2061346 - [RFE] Additional path/location for roles on satellite except /etc/ansible/roles
Summary: [RFE] Additional path/location for roles on satellite except /etc/ansible/roles
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible
Version: 6.9.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Sam Bible
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-07 13:05 UTC by soham
Modified: 2023-01-20 17:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-30 08:36:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-8826 0 None None None 2022-03-07 14:07:12 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.