Bug 1882123
Summary: | Install Roles from Galaxy' does not honor the location input | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Joshua John Arthur Swanson <jswanson> |
Component: | Ansible - Configuration Management | Assignee: | Ondřej Ezr <oezr> |
Status: | CLOSED ERRATA | QA Contact: | Danny Synk <dsynk> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.7.0 | CC: | aruzicka, lstejska, oezr |
Target Milestone: | 6.10.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-16 14:09: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
Joshua John Arthur Swanson
2020-09-23 20:23:44 UTC
There is a workaround of using SSH provider or ansible provider job to run arbitrary command, the command being ansible-galaxy command directly Created redmine issue https://projects.theforeman.org/issues/31488 from this bug Upstream bug assigned to oezr Upstream bug assigned to oezr Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31488 has been resolved. Steps to test: 1. Register a host to Satellite 6.10 and configure it for remote execution using the Global Registration Template. 2. Install the "ansible" package on the host. 3. In the Satellite webUI, navigate to Hosts > All Hosts > [hostname] and click the "Schedule Remote Job" button. 4. On the "Job invocation" page, select the "Ansible Galaxy" Job Category and the "Ansible Roles - Install from Galaxy" Job Template. 5. Enter "redhatofficial.rhel7_stig" in the "ansible_roles_list" field. 6. Enter "/etc/ansible/roles" in the "location" field. 7. Click the "Submit" button. Expected Results: The job task complete successfully, and the role is present on the host at /etc/ansible/roles/redhatofficial.rhel7_stig. Actual Results: The job task complete successfully, and the role is present on the host at /etc/ansible/roles/redhatofficial.rhel7_stig. Verified on Satellite 6.10, snap 5 (tfm-rubygem-foreman_ansible-6.3.0-1.el7sat.noarch). 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 (Moderate: Satellite 6.10 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-2021:4702 |