第4章 Managing Satellite with Ansible Collections

Satellite Ansible Collections is a set of Ansible modules that interact with the Satellite API. You can use Satellite Ansible Collections to manage and automate many aspects of Satellite.

4.1. Installing the Satellite Ansible Modules from RPM

Use this procedure to install the Satellite Ansible modules.

Prerequisite

  • Ensure that the Ansible 2.9 or later repository is enabled and the ansible package is updated:

    # subscription-manager repos --enable rhel-7-server-ansible-2.9-rpms
    # satellite-maintain packages update ansible

Procedure

  • Install the RPM using the following command:

    # satellite-maintain packages install ansible-collection-redhat-satellite