2017-08-03 14:49:47 +00:00
|
|
|
#
|
|
|
|
# (c) 2017, Daniel Korn <korndaniel1@gmail.com>
|
|
|
|
#
|
|
|
|
# This file is part of Ansible
|
|
|
|
#
|
|
|
|
# Ansible is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# Ansible is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
|
|
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:
|
2017-08-18 20:25:09 +00:00
|
|
|
required: false
|
2017-08-03 14:49:47 +00:00
|
|
|
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.
|
2017-08-03 14:49:47 +00:00
|
|
|
password:
|
2017-08-18 20:25:09 +00:00
|
|
|
required: false
|
|
|
|
description:
|
|
|
|
- ManageIQ password. C(MIQ_PASSWORD) env var if set. otherwise, required if no token is passed in.
|
|
|
|
token:
|
|
|
|
required: false
|
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.
|
2017-08-03 14:49:47 +00:00
|
|
|
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/)'
|
|
|
|
"""
|