2019-02-19 20:47:13 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
# Copyright: (c) 2017, Daniel Korn <korndaniel1@gmail.com>
|
2017-08-30 02:54:35 +00:00
|
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
2017-08-03 14:49:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
|
|
|
|
# Standard ManageIQ documentation fragment
|
2019-02-19 20:47:13 +00:00
|
|
|
DOCUMENTATION = r'''
|
2017-08-03 14:49:47 +00:00
|
|
|
options:
|
|
|
|
manageiq_connection:
|
|
|
|
description:
|
|
|
|
- ManageIQ connection configuration information.
|
2019-02-19 20:47:13 +00:00
|
|
|
required: true
|
|
|
|
type: dict
|
2017-08-03 14:49:47 +00:00
|
|
|
suboptions:
|
|
|
|
url:
|
|
|
|
description:
|
|
|
|
- ManageIQ environment url. C(MIQ_URL) env var if set. otherwise, it is required to pass it.
|
2019-02-19 20:47:13 +00:00
|
|
|
type: str
|
|
|
|
required: true
|
2017-08-03 14:49:47 +00:00
|
|
|
username:
|
|
|
|
description:
|
2017-08-18 20:25:09 +00:00
|
|
|
- ManageIQ username. C(MIQ_USERNAME) env var if set. otherwise, required if no token is passed in.
|
2019-02-19 20:47:13 +00:00
|
|
|
type: str
|
2017-08-03 14:49:47 +00:00
|
|
|
password:
|
2017-08-18 20:25:09 +00:00
|
|
|
description:
|
|
|
|
- ManageIQ password. C(MIQ_PASSWORD) env var if set. otherwise, required if no token is passed in.
|
2019-02-19 20:47:13 +00:00
|
|
|
type: str
|
2017-08-18 20:25:09 +00:00
|
|
|
token:
|
2017-08-03 14:49:47 +00:00
|
|
|
description:
|
2017-08-18 20:25:09 +00:00
|
|
|
- ManageIQ token. C(MIQ_TOKEN) env var if set. otherwise, required if no username or password is passed in.
|
2019-02-19 20:47:13 +00:00
|
|
|
type: str
|
2017-08-03 14:49:47 +00:00
|
|
|
verify_ssl:
|
|
|
|
description:
|
|
|
|
- Whether SSL certificates should be verified for HTTPS requests. defaults to True.
|
2019-02-19 20:47:13 +00:00
|
|
|
type: bool
|
|
|
|
default: yes
|
2017-08-03 14:49:47 +00:00
|
|
|
ca_bundle_path:
|
|
|
|
description:
|
|
|
|
- The path to a CA bundle file or directory with certificates. defaults to None.
|
2019-02-19 20:47:13 +00:00
|
|
|
type: path
|
2017-08-03 14:49:47 +00:00
|
|
|
|
|
|
|
requirements:
|
|
|
|
- 'manageiq-client U(https://github.com/ManageIQ/manageiq-api-client-python/)'
|
2019-02-19 20:47:13 +00:00
|
|
|
'''
|