mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
* New Model manageiq manageiq_provider * update docs, port is not required, region is provider-region * add example of using token * loop on endpoints instead of creating them one by one * add alerts endpoint * Simplify boilerplate and reorganize docs Tried to make it clearer how the suboptions are laid out. * Flatten out suboptions in order to make tests pass These will not render properly in the HTML docs. Simplifying how this module accepts options should be addressed in a future PR.
44 lines
1.5 KiB
Python
44 lines
1.5 KiB
Python
# (c) 2017, Daniel Korn <korndaniel1@gmail.com>
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
# Standard ManageIQ documentation fragment
|
|
DOCUMENTATION = """
|
|
options:
|
|
manageiq_connection:
|
|
required: true
|
|
description:
|
|
- ManageIQ connection configuration information.
|
|
suboptions:
|
|
url:
|
|
required: true
|
|
description:
|
|
- ManageIQ environment url. C(MIQ_URL) env var if set. otherwise, it is required to pass it.
|
|
username:
|
|
required: false
|
|
description:
|
|
- ManageIQ username. C(MIQ_USERNAME) env var if set. otherwise, required if no token is passed in.
|
|
password:
|
|
required: false
|
|
description:
|
|
- ManageIQ password. C(MIQ_PASSWORD) env var if set. otherwise, required if no token is passed in.
|
|
token:
|
|
required: false
|
|
description:
|
|
- ManageIQ token. C(MIQ_TOKEN) env var if set. otherwise, required if no username or password is passed in.
|
|
verify_ssl:
|
|
required: false
|
|
default: true
|
|
description:
|
|
- Whether SSL certificates should be verified for HTTPS requests. defaults to True.
|
|
ca_bundle_path:
|
|
required: false
|
|
default: null
|
|
description:
|
|
- The path to a CA bundle file or directory with certificates. defaults to None.
|
|
|
|
requirements:
|
|
- 'manageiq-client U(https://github.com/ManageIQ/manageiq-api-client-python/)'
|
|
"""
|