Bug 1630433 - [RFE] Include Ansible Satellite modules with Ansible Core modules
Summary: [RFE] Include Ansible Satellite modules with Ansible Core modules
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.4
Hardware: All
OS: All
unspecified
low with 3 votes
Target Milestone: 6.8.0
Assignee: satellite6-bugs
QA Contact: Peter Ondrejka
URL:
Whiteboard:
: 1643188 (view as bug list)
Depends On:
Blocks: 1828242 1849742
TreeView+ depends on / blocked
 
Reported: 2018-09-18 15:51 UTC by Chris Alliey
Modified: 2024-03-25 15:08 UTC (History)
23 users (show)

Fixed In Version: ansible-collection-redhat-satellite-0.8.0
Doc Type: Enhancement
Doc Text:
You can now install foreman-ansible-modules from RPM and use them from an Ansible runtime. This install includes all necessary libraries.
Clone Of:
: 1849742 (view as bug list)
Environment:
Last Closed: 2020-10-27 12:57:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 29234 0 Normal Closed Include Ansible modules with Ansible Core modules 2021-02-05 07:31:31 UTC
Red Hat Issue Tracker SAT-8966 0 None None None 2022-03-13 15:42:41 UTC
Red Hat Knowledge Base (Solution) 3897261 0 Customize or extend None When will the Red Hat Satellite 6 support complete manageability through Red Hat Ansible? 2019-10-11 14:38:21 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 12:58:18 UTC

Description Chris Alliey 2018-09-18 15:51:49 UTC
Description of problem:
Include Ansible modules for Satellite management with the Ansible Core modules.  Disconnected environments can't download and use modules downloaded from 'random' locations on the internet.  Adding satellite modules to the core Ansible modules will allow disconnected environments to use Ansible to install, configure, and manage their multiple Satellite installations.

Version-Release number of selected component (if applicable):
N/A - All

How reproducible:
Always.  Many disconnected environments are using hammer commands to manage their environments, but this should be replaced with more streamlined and idempotent ansible modules.  

Examples:
https://github.com/SatelliteQE/nailgun

Comment 2 Marek Hulan 2018-09-18 17:19:19 UTC
Thanks for the report. How do you envision consuming these modules? Or do you want just that modules are shipped as part od Satellite in its repositories? Meaning this is packaging and supporting these ansible modules?

Comment 3 Chris Alliey 2018-09-18 17:41:11 UTC
Marek,
In many (I work in a few) disconnected environments, downloading additional content (not directly from Red Hat) is a monumental task.  Having the ansible modules for Satellite included in the core Ansible modules (which get distributed with Ansible) or even with the Satellite content would be beneficial.  

Again this use case is in a disconnected environment.  Content distributed by Red Hat as part of our product, is easier to justify bringing through to a disconnected network then something downloaded from another source.  

We are also finding that inside disconnected environments, we don't just have one Satellite server and capsule, but a large number of Satellite servers inside every network / disconnected customer.  The number of disconnected Satellite installations is increasing every day, and having a standard (easy!) method for installing, managing, and configuring these installations is something that would greatly assist those of us managing them.

Not asking to change the core installation from puppet to Ansible, but fast tracking the Satellite specific modules to be included with the core Ansible modules (if possible) would allow our consultants onsite in these disconnected environments to work more efficiently.

Comment 5 Evgeni Golov 2019-08-14 08:05:24 UTC
Isn't this a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1643188?

Comment 6 Bryan Kearney 2019-10-11 14:38:22 UTC
*** Bug 1643188 has been marked as a duplicate of this bug. ***

Comment 8 wtome 2019-11-13 20:09:29 UTC
Ansible Collections are the content strategy of the future for Ansible. It appears that the existing Foreman/Satellite content has already been refactored into a collection which currently is available on Galaxy (https://galaxy.ansible.com/theforeman/foreman) and could be distributed via Automation Hub with BU support for customers who would like to download directly from Red Hat.

Comment 13 Dominik Matoulek 2020-03-02 12:26:20 UTC
Created redmine issue https://projects.theforeman.org/issues/29234 from this bug

Comment 18 Peter Ondrejka 2020-06-25 09:11:28 UTC
Verified on Satellite 6.8 snap 6, ansible-collection-redhat-satellite rpm provides the modules as expected

Comment 21 errata-xmlrpc 2020-10-27 12:57:59 UTC
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 (Important: Satellite 6.8 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-2020:4366


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