Bug 1716307
| Summary: | Cannot import default installed ansible roles | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Sanket Jagtap <sjagtap> |
| Component: | Ansible - Configuration Management | Assignee: | Ondřej Pražák <oprazak> |
| Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.6.0 | CC: | bkearney, lpramuk, mhulan, oprazak, pcreech, sghai, zhunting |
| Target Milestone: | 6.6.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-smart_proxy_ansible-3.0.1-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-10-22 19:51: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
Sanket Jagtap
2019-06-03 08:04:01 UTC
Created redmine issue http://projects.theforeman.org/issues/26970 from this bug *** Bug 1718571 has been marked as a duplicate of this bug. *** The fix is merged upstream but we need to test that such imported roles will be found when ansible is ran. Chances are, we need to add roles_path to our ansible.cfg as well, since Ansible looks to $playbook_dir/roles and /etc/ansible/roles only by default - https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html#role-search-path. Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26970 has been resolved. Connecting redmine issue https://projects.theforeman.org/issues/27182 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26970 has been resolved. VERIFIED.
@satellite-6.6.0-5.beta.el7sat.noarch
rubygem-smart_proxy_ansible-3.0.1-1.el7sat.noarch
by the following manual reproducer:
1. Check the roles are present in /usr/share/ansible/roles
# ls /usr/share/ansible/roles
RedHatInsights.insights-client theforeman.foreman_scap_client
2. Import roles
Navigate to Configure -> Ansible Roles and click "Import from <fqdn>" button
>>> roles in /usr/share/ansible/roles get imported as well
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, 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-2019:3172 |