2020-03-09 10:11:07 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2022-08-05 12:28:29 +02:00
|
|
|
# Copyright (c) 2017, Daniel Korn <korndaniel1@gmail.com>
|
|
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2020-03-09 10:11:07 +01:00
|
|
|
|
2020-06-24 21:50:36 +02:00
|
|
|
from __future__ import (absolute_import, division, print_function)
|
|
|
|
__metaclass__ = type
|
|
|
|
|
2020-03-09 10:11:07 +01:00
|
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
|
|
|
|
# Standard ManageIQ documentation fragment
|
|
|
|
DOCUMENTATION = r'''
|
|
|
|
options:
|
|
|
|
manageiq_connection:
|
|
|
|
description:
|
|
|
|
- ManageIQ connection configuration information.
|
2020-11-12 08:28:32 +01:00
|
|
|
required: false
|
2020-03-09 10:11:07 +01:00
|
|
|
type: dict
|
|
|
|
suboptions:
|
|
|
|
url:
|
|
|
|
description:
|
2023-06-10 09:28:40 +02:00
|
|
|
- ManageIQ environment URL. C(MIQ_URL) environment variable if set. otherwise, it is required to pass it.
|
2020-03-09 10:11:07 +01:00
|
|
|
type: str
|
2020-11-12 08:28:32 +01:00
|
|
|
required: false
|
2020-03-09 10:11:07 +01:00
|
|
|
username:
|
|
|
|
description:
|
2023-06-10 09:28:40 +02:00
|
|
|
- ManageIQ username. C(MIQ_USERNAME) environment variable if set. otherwise, required if no token is passed in.
|
2020-03-09 10:11:07 +01:00
|
|
|
type: str
|
|
|
|
password:
|
|
|
|
description:
|
2023-06-10 09:28:40 +02:00
|
|
|
- ManageIQ password. C(MIQ_PASSWORD) environment variable if set. otherwise, required if no token is passed in.
|
2020-03-09 10:11:07 +01:00
|
|
|
type: str
|
|
|
|
token:
|
|
|
|
description:
|
2023-06-10 09:28:40 +02:00
|
|
|
- ManageIQ token. C(MIQ_TOKEN) environment variable if set. otherwise, required if no username or password is passed in.
|
2020-03-09 10:11:07 +01:00
|
|
|
type: str
|
|
|
|
validate_certs:
|
|
|
|
description:
|
|
|
|
- Whether SSL certificates should be verified for HTTPS requests. defaults to True.
|
|
|
|
type: bool
|
2022-08-24 19:58:42 +02:00
|
|
|
default: true
|
2020-03-09 10:11:07 +01:00
|
|
|
aliases: [ verify_ssl ]
|
|
|
|
ca_cert:
|
|
|
|
description:
|
|
|
|
- The path to a CA bundle file or directory with certificates. defaults to None.
|
2020-11-12 08:28:32 +01:00
|
|
|
type: str
|
2020-03-09 10:11:07 +01:00
|
|
|
aliases: [ ca_bundle_path ]
|
|
|
|
|
|
|
|
requirements:
|
|
|
|
- 'manageiq-client U(https://github.com/ManageIQ/manageiq-api-client-python/)'
|
|
|
|
'''
|