redhat.satellite.manifest
Upload Subscription Manifest
Role Variables
This role supports the Common Role Variables.
satellite_manifest_path
: Path to subscription Manifest file on Ansible target host. When usingmanifest_download
, it is first downloaded to this location from the Red Hat Customer Portal before being uploaded to the Foreman server.satellite_manifest_download
: Whether to first download the Manifest from the Red Hat Customer Portal. Defaults toFalse
.satellite_manifest_uuid
: UUID of the Manifest to download, corresponding to a Subscription Allocation defined on your Red Hat account. Required whenmanifest_download
isTrue
.satellite_rhsm_username
: Your username for the Red Hat Customer Portal. Required whensatellite_manifest_download
istrue
.satellite_rhsm_password
: Your password for the Red Hat Customer Portal. Required whensatellite_manifest_download
istrue
.
Example Playbooks
Use a Subscription Manifest which has already been downloaded on localhost at ~/manifest.zip
:
- hosts: localhost
roles:
- role: redhat.satellite.manifest
vars:
satellite_server_url: https://satellite.example.com
satellite_username: "admin"
satellite_password: "changeme"
satellite_organization: "Default Organization"
satellite_manifest_path: "~/manifest.zip"
Download the Subscription Manifest from the Red Hat Customer Portal to localhost before uploading to Foreman server:
- hosts: localhost
roles:
- role: redhat.satellite.manifest
vars:
satellite_server_url: https://satellite.example.com
satellite_username: "admin"
satellite_password: "changeme"
satellite_organization: "Default Organization"
satellite_manifest_path: "~/manifest.zip"
satellite_manifest_download: true
satellite_rhsm_username: "happycustomer"
satellite_rhsm_password: "$ecur3p4$$w0rd"
satellite_manifest_uuid: "01234567-89ab-cdef-0123-456789abcdef"