:source: katello_activation_key.py :orphan: .. _katello_activation_key_module: katello_activation_key -- Create and Manage Katello activation keys +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. contents:: :local: :depth: 1 Synopsis -------- - Create and Manage Katello activation keys Requirements ------------ The below requirements are needed on the host that executes this module. - apypie Parameters ---------- .. raw:: html
Parameter | Choices/Defaults | Comments | |
---|---|---|---|
auto_attach
boolean
|
|
Set Auto-Attach on or off
|
|
content_overrides
list
/ elements=dictionary
|
List of content overrides that include label and override state ('enabled', 'disabled' or 'default')
|
||
label
string
/ required
|
Label of the content override
|
||
override
string
/ required
|
|
Override value
|
|
content_view
string
|
Name of the content view
|
||
host_collections
list
/ elements=string
|
List of host collections to add to activation key
|
||
lifecycle_environment
string
|
Name of the lifecycle environment
|
||
max_hosts
integer
|
Maximum number of registered content hosts.
Required if unlimited_hosts=false
|
||
name
string
/ required
|
Name of the activation key
|
||
new_name
string
|
Name of the new activation key when state == copied
|
||
organization
string
/ required
|
Organization that the entity is in
|
||
password
string
/ required
|
Password of the user accessing the Foreman server
|
||
purpose_addons
list
/ elements=string
|
Sets the system purpose add-ons
|
||
purpose_role
string
|
Sets the system purpose role
|
||
purpose_usage
string
|
Sets the system purpose usage
|
||
release_version
string
|
Set the content release version
|
||
server_url
string
/ required
|
URL of the Foreman server
|
||
service_level
string
|
|
Set the service level
|
|
state
string
|
|
State of the Activation Key
If
copied the key will be copied to a new one with new_name as the name and all other fields left untouchedpresent_with_defaults will ensure the entity exists, but won't update existing ones |
|
subscriptions
list
/ elements=dictionary
|
List of subscriptions that include either Name or Pool ID.
Pool IDs are preferred since Names are not unique and the module will fail if it finds more than one subscription with the same name.
|
||
name
string
|
Name of the Subscription to be added.
Mutually exclusive with pool_id.
|
||
pool_id
string
|
Pool ID of the Subscription to be added.
Mutually exclusive with name.
|
||
unlimited_hosts
boolean
|
|
Can the activation key have unlimited hosts
|
|
username
string
/ required
|
Username accessing the Foreman server
|
||
validate_certs
boolean
|
|
Whether or not to verify the TLS certificates of the Foreman server
aliases: verify_ssl |