redhat.satellite.product – Manage Products¶
Note
This plugin is part of the redhat.satellite collection (version 1.5.1).
To install it use: ansible-galaxy collection install redhat.satellite
.
To use it in a playbook, specify: redhat.satellite.product
.
New in version 1.0.0: of redhat.satellite
Parameters¶
Examples¶
- name: "Create Fedora product with a sync plan"
redhat.satellite.product:
username: "admin"
password: "changeme"
server_url: "https://satellite.example.com"
name: "Fedora"
organization: "My Cool new Organization"
sync_plan: "Fedora repos sync"
state: present
- name: "Create CentOS 7 product with content credentials"
redhat.satellite.product:
username: "admin"
password: "changeme"
server_url: "https://satellite.example.com"
name: "CentOS 7"
gpg_key: "RPM-GPG-KEY-CentOS7"
organization: "My Cool new Organization"
state: present
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.
|
|
products
list
/ elements=dictionary
|
success |
List of products.
|
Authors¶
Eric D Helms (@ehelms)
Matthias Dellweg (@mdellweg) ATIX AG