theforeman.foreman.subscription_info – Fetch information about Subscriptions¶
Note
This plugin is part of the theforeman.foreman collection (version 2.1.1).
To install it use: ansible-galaxy collection install theforeman.foreman
.
To use it in a playbook, specify: theforeman.foreman.subscription_info
.
New in version 2.1.0: of theforeman.foreman
Parameters¶
Examples¶
- name: "Show a subscription"
theforeman.foreman.subscription_info:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
name: "Red Hat Satellite Infrastructure Subscription"
- name: "Show all subscriptions with a certain name"
theforeman.foreman.subscription_info:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
search: name="Red Hat Satellite Infrastructure Subscription"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Evgeni Golov (@evgeni)