redhat_manifest – Interact with a Red Hat Satellite Subscription Manifest

Synopsis

  • Download and modify a Red Hat Satellite Subscription Manifest

Parameters

Parameter Choices/Defaults Comments
name
string
Manifest Name
password
string / required
Password for user accessing Foreman server
path
path
path to export the manifest
pool_id
string
Subscription pool_id
pool_state
string
    Choices:
  • present ←
  • absent
Subscription state
portal
string
Default:
"https://subscription.rhsm.redhat.com"
Red Hat Portal subscription access address
quantity
integer
quantity of pool_id Subscriptions
state
string
    Choices:
  • present ←
  • absent
Manifest state
username
string / required
Username on Foreman server
uuid
string
Manifest uuid
validate_certs
boolean
    Choices:
  • no
  • yes ←
Validate Portal SSL

Examples

- name: Create katello.example.com Manifest and add 7 sub
  redhat_manifest:
    name: "katello.example.com"
    username: "john-smith"
    password: "changeme"
    pool_id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    quantity: 7

- name: Ensure my manifest has 10 of one subs in it and export
  redhat_manifest:
    uuid: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
    username: john-smith
    password: changeme
    pool_id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    quantity: 10
    path: /root/manifest.zip

- name: Remove all of one subs from katello.example.com
  redhat_manifest:
    name: katello.example.com
    username: john-smith
    password: changeme
    pool_id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    pool_state: absent

Status

Authors

  • Sean O’Keeffe (@sean797)

Hint

If you notice any issues in this documentation, you can edit this document to improve it.