redhat.satellite.activation_key – Manage Activation Keys¶
Note
This plugin is part of the redhat.satellite collection (version 1.5.0).
To install it use: ansible-galaxy collection install redhat.satellite
.
To use it in a playbook, specify: redhat.satellite.activation_key
.
New in version 1.0.0: of redhat.satellite
Parameters¶
Examples¶
- name: "Create client activation key"
redhat.satellite.activation_key:
username: "admin"
password: "changeme"
server_url: "https://satellite.example.com"
name: "Clients"
organization: "Default Organization"
lifecycle_environment: "Library"
content_view: 'client content view'
host_collections:
- rhel7-servers
- rhel7-production
subscriptions:
- pool_id: "8a88e9826db22df5016dd018abdd029b"
- pool_id: "8a88e9826db22df5016dd01a23270344"
- name: "Red Hat Enterprise Linux"
content_overrides:
- label: rhel-7-server-optional-rpms
override: enabled
auto_attach: False
release_version: 7Server
service_level: Standard
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description | |
---|---|---|---|
entity
dictionary
|
success |
Final state of the affected entities grouped by their type.
|
|
activation_keys
list
/ elements=dictionary
|
success |
List of activation keys.
|
Authors¶
Andrew Kofink (@akofink)