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 1718571

Summary: Roles in /usr/share/ansible/roles cannot be imported
Product: Red Hat Satellite Reporter: Lukas Pramuk <lpramuk>
Component: Ansible - Configuration ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Lukas Pramuk <lpramuk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6.0   
Target Milestone: Unspecified   
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: 2019-06-10 08:07:52 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 Lukas Pramuk 2019-06-08 17:24:16 UTC
Description of problem:
Roles in /usr/share/ansible/roles cannot be imported.
Only roles in /etc/ansible/roles gets imported.

/usr/share/ansible/roles directory contains RedHatInsights.insights-client and theforeman.foreman_scap_client roles however they can't any longer imported.

Version-Release number of selected component (if applicable):
@satellite-6.6.0-5.beta.el7sat.noarch
ansible-2.8.0-1.el7ae.noarch
tfm-rubygem-foreman_ansible-3.0.2-1.el7sat.noarch
tfm-rubygem-foreman_ansible_core-2.2.1-1.el7sat.noarch
rubygem-smart_proxy_ansible-2.1.2-3.el7sat.noarch
ansiblerole-insights-client-1.6-2.el7sat.noarch
ansiblerole-foreman_scap_client-0.0.2-1.el7sat.noarch

How reproducible:
deterministic

Steps to Reproduce:
1. Check the roles are present in /usr/share/ansible/roles
# ls /usr/share/ansible/roles
RedHatInsights.insights-client  theforeman.foreman_scap_client

2. Try to import roles
Navigate to Configure -> Ansible Roles and click "Import from <fqdn>" button

Actual results:
no roles in /usr/share/ansible/roles get imported, only roles in /etc/ansible/roles are imported

Expected results:
roles in /usr/share/ansible/roles get imported as well

-or- 

we will deploy our roles in /etc/ansible/roles so that they are imported

Comment 3 Lukas Pramuk 2019-06-10 08:07:52 UTC

*** This bug has been marked as a duplicate of bug 1716307 ***