.. Document meta :orphan: .. |antsibull-internal-nbsp| unicode:: 0xA0 :trim: .. role:: ansible-attribute-support-label .. role:: ansible-attribute-support-property .. role:: ansible-attribute-support-full .. role:: ansible-attribute-support-partial .. role:: ansible-attribute-support-none .. role:: ansible-attribute-support-na .. role:: ansible-option-type .. role:: ansible-option-elements .. role:: ansible-option-required .. role:: ansible-option-versionadded .. role:: ansible-option-aliases .. role:: ansible-option-choices .. role:: ansible-option-choices-default-mark .. role:: ansible-option-default-bold .. role:: ansible-option-configuration .. role:: ansible-option-returned-bold .. role:: ansible-option-sample-bold .. Anchors .. _ansible_collections.middleware_automation.common.product_search_module: .. Anchors: short name for ansible.builtin .. Title product_search -- Searches products from the JBoss Network API. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: This module is part of the `middleware_automation.common collection `_. To install it, use: :code:`ansible-galaxy collection install middleware\_automation.common`. You need further requirements to be able to use this module, see :ref:`Requirements ` for details. To use it in a playbook, specify: :code:`middleware_automation.common.product_search`. .. version_added .. contents:: :local: :depth: 1 .. Deprecated Synopsis -------- .. Description - Searches products from the JBoss Network API. .. Aliases .. Requirements .. _ansible_collections.middleware_automation.common.product_search_module_requirements: Requirements ------------ The below requirements are needed on the host that executes this module. - requests .. Options Parameters ---------- .. rst-class:: ansible-option-table .. list-table:: :width: 100% :widths: auto :header-rows: 1 * - Parameter - Comments * - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__parameter-api_url: .. rst-class:: ansible-option-title **api_url** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Address of the JBoss Network API. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"https://jbossnetwork.api.redhat.com"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__parameter-client_id: .. rst-class:: ansible-option-title **client_id** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Client ID associated with to download a product from the JBoss Network API. If value not set, will try environment variable \ :literal:`REDHAT\_PRODUCT\_DOWNLOAD\_CLIENT\_ID`\ .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__parameter-client_secret: .. rst-class:: ansible-option-title **client_secret** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Client Secret associated with to download a product from the JBoss Network API. If value not set, will try environment variable \ :literal:`REDHAT\_PRODUCT\_DOWNLOAD\_CLIENT\_SECRET`\ .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__parameter-product_category: .. rst-class:: ansible-option-title **product_category** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Type of the Product Category .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__parameter-product_id: .. rst-class:: ansible-option-title **product_id** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Product Id for the Redhat customer portal .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__parameter-product_type: .. rst-class:: ansible-option-title **product_type** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Type of the Product .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__parameter-product_version: .. rst-class:: ansible-option-title **product_version** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Product Version to be downloaded. .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__parameter-sso_url: .. rst-class:: ansible-option-title **sso_url** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Address of the Red Hat SSO Server. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"https://sso.redhat.com"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__parameter-validate_certs: .. rst-class:: ansible-option-title **validate_certs** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
If \ :literal:`false`\ , SSL certificates will not be validated. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`false` - :ansible-option-choices-entry-default:`true` :ansible-option-choices-default-mark:`← (default)` .. raw:: html
.. Attributes .. Notes .. Seealso .. Examples Examples -------- .. code-block:: yaml+jinja - name: Search Red Hat Products middleware_automation.common.product_search: client_id: 123e4567-e89b-12d3-a456-426614174000 client_secret: 0mpkY0i8IdIRWbk6rLXBlf5Jkqq8i4nW product_category: webserver product_version: 5.5 .. Facts .. Return values Return Values ------------- Common return values are documented :ref:`here `, the following are the fields unique to this module: .. rst-class:: ansible-option-table .. list-table:: :width: 100% :widths: auto :header-rows: 1 * - Key - Description * - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__return-results: .. rst-class:: ansible-option-title **results** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`complex` .. raw:: html
- .. raw:: html
The objects returned from the API .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` success .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__return-results/category: .. rst-class:: ansible-option-title **category** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Product category. .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` success .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__return-results/description: .. rst-class:: ansible-option-title **description** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Description of the product. .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` success .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__return-results/distribution_status: .. rst-class:: ansible-option-title **distribution_status** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Distribution status of the product. .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` success .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__return-results/download_path: .. rst-class:: ansible-option-title **download_path** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
URL where the product can be downloaded. .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` success .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__return-results/id: .. rst-class:: ansible-option-title **id** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
id of the product. .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` success .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__return-results/md5: .. rst-class:: ansible-option-title **md5** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
MD5 checksum of the product. .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` success .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__return-results/name: .. rst-class:: ansible-option-title **name** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Name of the product. .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` success .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__return-results/sha256: .. rst-class:: ansible-option-title **sha256** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
MD5 checksum of the product. .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` success .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__return-results/title: .. rst-class:: ansible-option-title **title** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Title of the product. .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` success .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__return-results/type: .. rst-class:: ansible-option-title **type** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Type of product. .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` success .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__return-results/version: .. rst-class:: ansible-option-title **version** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Product version. .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` success .. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.common.product_search_module__return-results/visibility: .. rst-class:: ansible-option-title **visibility** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Product visibility. .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` success .. raw:: html
.. Status (Presently only deprecated) .. Authors Authors ~~~~~~~ - Andrew Block (@sabre1041) .. Extra links .. Parsing errors