Chapter 5. Managing Satellite with Ansible
Satellite Ansible Collections is a set of Ansible modules that interact with the Satellite API. You can manage and automate many aspects of Satellite with Satellite Ansible collections.
5.1. Installing the Satellite Ansible modules Copy linkLink copied to clipboard!
Use this procedure to install the Satellite Ansible modules.
Procedure
Install the package using the following command:
satellite-maintain packages install ansible-collection-redhat-satellite
# satellite-maintain packages install ansible-collection-redhat-satellite
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
5.2. Viewing the Satellite Ansible modules Copy linkLink copied to clipboard!
You can view the installed Satellite Ansible modules by running:
ansible-doc -l redhat.satellite
# ansible-doc -l redhat.satellite
Alternatively, you can also see the complete list of Satellite Ansible modules and other related information at Red Hat Ansible Automation Platform.
All modules are in the redhat.satellite
namespace and can be referred to in the format redhat.satellite.module_name
. For example, to display information about the activation_key
module, enter the following command:
ansible-doc redhat.satellite.activation_key
$ ansible-doc redhat.satellite.activation_key