redhat_manifest – Interact with 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
|
|
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
|
|
Manifest state
|
username
string
/ required
|
Username on Foreman server
|
|
uuid
string
|
Manifest uuid
|
|
validate_certs
boolean
|
|
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¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Community. [community]
Authors¶
Sean O’Keeffe (@sean797)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.