mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-17 02:15:27 -07:00
Some checks are pending
EOL CI / EOL Sanity (Ⓐ2.16) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py2.7) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.11) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.6) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/3/) (push) Waiting to run
nox / Run extra sanity tests (push) Waiting to run
Co-authored-by: Felix Fontein <felix@fontein.de>
59 lines
2 KiB
Python
59 lines
2 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Copyright (c) 2018, Huawei Inc.
|
|
# 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
|
|
|
|
from __future__ import (absolute_import, division, print_function)
|
|
__metaclass__ = type
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
# HWC doc fragment.
|
|
DOCUMENTATION = r"""
|
|
options:
|
|
identity_endpoint:
|
|
description:
|
|
- The Identity authentication URL.
|
|
type: str
|
|
required: true
|
|
user:
|
|
description:
|
|
- The user name to login with.
|
|
- Currently only user names are supported, and not user IDs.
|
|
type: str
|
|
required: true
|
|
password:
|
|
description:
|
|
- The password to login with.
|
|
type: str
|
|
required: true
|
|
domain:
|
|
description:
|
|
- The name of the Domain to scope to (Identity v3).
|
|
- Currently only domain names are supported, and not domain IDs.
|
|
type: str
|
|
required: true
|
|
project:
|
|
description:
|
|
- The name of the Tenant (Identity v2) or Project (Identity v3).
|
|
- Currently only project names are supported, and not project IDs.
|
|
type: str
|
|
required: true
|
|
region:
|
|
description:
|
|
- The region to which the project belongs.
|
|
type: str
|
|
id:
|
|
description:
|
|
- The ID of resource to be managed.
|
|
type: str
|
|
notes:
|
|
- For authentication, you can set identity_endpoint using the E(ANSIBLE_HWC_IDENTITY_ENDPOINT) environment variable.
|
|
- For authentication, you can set user using the E(ANSIBLE_HWC_USER) environment variable.
|
|
- For authentication, you can set password using the E(ANSIBLE_HWC_PASSWORD) environment variable.
|
|
- For authentication, you can set domain using the E(ANSIBLE_HWC_DOMAIN) environment variable.
|
|
- For authentication, you can set project using the E(ANSIBLE_HWC_PROJECT) environment variable.
|
|
- For authentication, you can set region using the E(ANSIBLE_HWC_REGION) environment variable.
|
|
- Environment variables values are only used when the playbook values are not set.
|
|
"""
|