redhat.satellite.manifest¶
Upload Subscription Manifest
Role Variables¶
This role supports the Common Role Variables.
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.manifest_download: Whether to first download the Manifest from the Red Hat Customer Portal. Defaults toFalse.manifest_uuid: UUID of the Manifest to download, corresponding to a Subscription Allocation defined on your Red Hat account. Required whenmanifest_downloadisTrue.rhsm_username: Your username for the Red Hat Customer Portal. Required whenmanifest_downloadisTrue.rhsm_password: Your password for the Red Hat Customer Portal. Required whenmanifest_downloadisTrue.
Example Playbooks¶
Use a Subscription Manifest which has already been downloaded on localhost at ~/manifest.zip:
- hosts: localhost
roles:
- role: redhat.satellite.manifest
vars:
server_url: https://foreman.example.com
username: "admin"
password: "changeme"
organization: "Default Organization"
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:
server_url: https://foreman.example.com
username: "admin"
password: "changeme"
organization: "Default Organization"
manifest_path: "~/manifest.zip"
manifest_download: True
rhsm_username: "happycustomer"
rhsm_password: "$ecur3p4$$w0rd"
manifest_uuid: "01234567-89ab-cdef-0123-456789abcdef"