1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[PR #7551/a88f6f56 backport][stable-8] Clean up doc fragments a bit (#7568)

Clean up doc fragments a bit (#7551)

Clean up doc fragments a bit.

(cherry picked from commit a88f6f56c7)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2023-11-22 09:25:54 +01:00 committed by GitHub
parent 8eb3003894
commit 3ba00d5a07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 78 additions and 92 deletions

View file

@ -47,7 +47,7 @@ options:
aliases: ['assume_role'] aliases: ['assume_role']
alicloud_assume_role_arn: alicloud_assume_role_arn:
description: description:
- The Alibaba Cloud role_arn. The ARN of the role to assume. If ARN is set to an empty string, - The Alibaba Cloud C(role_arn). The ARN of the role to assume. If ARN is set to an empty string,
it does not perform role switching. It supports environment variable E(ALICLOUD_ASSUME_ROLE_ARN). it does not perform role switching. It supports environment variable E(ALICLOUD_ASSUME_ROLE_ARN).
ansible will execute with provided credentials. ansible will execute with provided credentials.
aliases: ['assume_role_arn'] aliases: ['assume_role_arn']
@ -61,7 +61,7 @@ options:
type: str type: str
alicloud_assume_role_session_expiration: alicloud_assume_role_session_expiration:
description: description:
- The Alibaba Cloud session_expiration. The time after which the established session for assuming - The Alibaba Cloud C(session_expiration). The time after which the established session for assuming
role expires. Valid value range 900-3600 seconds. Default to 3600 (in this case Alicloud use own default role expires. Valid value range 900-3600 seconds. Default to 3600 (in this case Alicloud use own default
value). It supports environment variable E(ALICLOUD_ASSUME_ROLE_SESSION_EXPIRATION). value). It supports environment variable E(ALICLOUD_ASSUME_ROLE_SESSION_EXPIRATION).
aliases: ['assume_role_session_expiration'] aliases: ['assume_role_session_expiration']
@ -85,12 +85,12 @@ options:
description: description:
- This is the path to the shared credentials file. It can also be sourced from the E(ALICLOUD_SHARED_CREDENTIALS_FILE) - This is the path to the shared credentials file. It can also be sourced from the E(ALICLOUD_SHARED_CREDENTIALS_FILE)
environment variable. environment variable.
- If this is not set and a profile is specified, ~/.aliyun/config.json will be used. - If this is not set and a profile is specified, C(~/.aliyun/config.json) will be used.
type: str type: str
author: author:
- "He Guimin (@xiaozhu36)" - "He Guimin (@xiaozhu36)"
requirements: requirements:
- "python >= 3.6" - "Python >= 3.6"
notes: notes:
- If parameters are not set within the module, the following - If parameters are not set within the module, the following
environment variables can be used in decreasing order of precedence environment variables can be used in decreasing order of precedence
@ -103,7 +103,7 @@ notes:
E(ALICLOUD_PROFILE), E(ALICLOUD_PROFILE),
E(ALICLOUD_ASSUME_ROLE_ARN), E(ALICLOUD_ASSUME_ROLE_ARN),
E(ALICLOUD_ASSUME_ROLE_SESSION_NAME), E(ALICLOUD_ASSUME_ROLE_SESSION_NAME),
E(ALICLOUD_ASSUME_ROLE_SESSION_EXPIRATION), E(ALICLOUD_ASSUME_ROLE_SESSION_EXPIRATION).
- E(ALICLOUD_REGION) or E(ALICLOUD_REGION_ID) can be typically be used to specify the - E(ALICLOUD_REGION) or E(ALICLOUD_REGION_ID) can be typically be used to specify the
ALICLOUD region, when required, but this can also be configured in the footmark config file Alicloud region, when required, but this can also be configured in the footmark config file
''' '''

View file

@ -14,19 +14,19 @@ class ModuleDocFragment(object):
options: options:
api_url: api_url:
description: description:
- The resolvable endpoint for the API - The resolvable endpoint for the API.
type: str type: str
api_username: api_username:
description: description:
- The username to use for authentication against the API - The username to use for authentication against the API.
type: str type: str
api_password: api_password:
description: description:
- The password to use for authentication against the API - The password to use for authentication against the API.
type: str type: str
validate_certs: validate_certs:
description: description:
- Whether or not to validate SSL certs when supplying a https endpoint. - Whether or not to validate SSL certs when supplying a HTTPS endpoint.
type: bool type: bool
default: true default: true
''' '''

View file

@ -20,10 +20,10 @@ options:
region: region:
description: description:
- The target region. - The target region.
- Regions are defined in Apache libcloud project [libcloud/common/dimensiondata.py] - Regions are defined in Apache libcloud project [libcloud/common/dimensiondata.py].
- They are also listed in U(https://libcloud.readthedocs.io/en/latest/compute/drivers/dimensiondata.html) - They are also listed in U(https://libcloud.readthedocs.io/en/latest/compute/drivers/dimensiondata.html).
- Note that the default value "na" stands for "North America". - Note that the default value C(na) stands for "North America".
- The module prepends 'dd-' to the region choice. - The module prepends C(dd-) to the region choice.
type: str type: str
default: na default: na
mcp_user: mcp_user:

View file

@ -34,4 +34,4 @@ options:
- Only applicable if O(wait=true). - Only applicable if O(wait=true).
type: int type: int
default: 2 default: 2
''' '''

View file

@ -39,8 +39,7 @@ options:
default: sysadmin default: sysadmin
requirements: requirements:
- An EMC VNX Storage device. - An EMC VNX Storage device.
- Ansible 2.7. - storops (0.5.10 or greater). Install using C(pip install storops).
- storops (0.5.10 or greater). Install using 'pip install storops'.
notes: notes:
- The modules prefixed with emc_vnx are built to support the EMC VNX storage platform. - The modules prefixed with C(emc_vnx) are built to support the EMC VNX storage platform.
''' '''

View file

@ -19,8 +19,8 @@ options:
required: true required: true
user: user:
description: description:
- The user name to login with (currently only user names are - The user name to login with.
supported, and not user IDs). - Currently only user names are supported, and not user IDs.
type: str type: str
required: true required: true
password: password:
@ -31,14 +31,13 @@ options:
domain: domain:
description: description:
- The name of the Domain to scope to (Identity v3). - The name of the Domain to scope to (Identity v3).
(currently only domain names are supported, and not domain IDs). - Currently only domain names are supported, and not domain IDs.
type: str type: str
required: true required: true
project: project:
description: description:
- The name of the Tenant (Identity v2) or Project (Identity v3). - The name of the Tenant (Identity v2) or Project (Identity v3).
(currently only project names are supported, and not - Currently only project names are supported, and not project IDs.
project IDs).
type: str type: str
required: true required: true
region: region:
@ -47,20 +46,20 @@ options:
type: str type: str
id: id:
description: description:
- The id of resource to be managed. - The ID of resource to be managed.
type: str type: str
notes: notes:
- For authentication, you can set identity_endpoint using the - For authentication, you can set identity_endpoint using the
E(ANSIBLE_HWC_IDENTITY_ENDPOINT) env variable. E(ANSIBLE_HWC_IDENTITY_ENDPOINT) environment variable.
- For authentication, you can set user using the - For authentication, you can set user using the
E(ANSIBLE_HWC_USER) env variable. E(ANSIBLE_HWC_USER) environment variable.
- For authentication, you can set password using the E(ANSIBLE_HWC_PASSWORD) env - For authentication, you can set password using the E(ANSIBLE_HWC_PASSWORD) environment
variable. variable.
- For authentication, you can set domain using the E(ANSIBLE_HWC_DOMAIN) env - For authentication, you can set domain using the E(ANSIBLE_HWC_DOMAIN) environment
variable. variable.
- For authentication, you can set project using the E(ANSIBLE_HWC_PROJECT) env - For authentication, you can set project using the E(ANSIBLE_HWC_PROJECT) environment
variable. variable.
- For authentication, you can set region using the E(ANSIBLE_HWC_REGION) env variable. - For authentication, you can set region using the E(ANSIBLE_HWC_REGION) environment variable.
- Environment variables values will only be used if the playbook values are - Environment variables values will only be used if the playbook values are
not set. not set.
''' '''

View file

@ -31,8 +31,7 @@ options:
required: true required: true
notes: notes:
- This module requires pyxcli python library. - This module requires pyxcli python library.
Use 'pip install pyxcli' in order to get pyxcli. Use C(pip install pyxcli) in order to get pyxcli.
requirements: requirements:
- python >= 2.7
- pyxcli - pyxcli
''' '''

View file

@ -16,32 +16,29 @@ options:
hostname: hostname:
description: description:
- The hostname or IP address on which InfluxDB server is listening. - The hostname or IP address on which InfluxDB server is listening.
- Since Ansible 2.5, defaulted to localhost.
type: str type: str
default: localhost default: localhost
username: username:
description: description:
- Username that will be used to authenticate against InfluxDB server. - Username that will be used to authenticate against InfluxDB server.
- Alias O(login_username) added in Ansible 2.5.
type: str type: str
default: root default: root
aliases: [ login_username ] aliases: [ login_username ]
password: password:
description: description:
- Password that will be used to authenticate against InfluxDB server. - Password that will be used to authenticate against InfluxDB server.
- Alias O(login_password) added in Ansible 2.5.
type: str type: str
default: root default: root
aliases: [ login_password ] aliases: [ login_password ]
port: port:
description: description:
- The port on which InfluxDB server is listening - The port on which InfluxDB server is listening.
type: int type: int
default: 8086 default: 8086
path: path:
description: description:
- The path on which InfluxDB server is accessible - The path on which InfluxDB server is accessible.
- Only available when using python-influxdb >= 5.1.0 - Only available when using python-influxdb >= 5.1.0.
type: str type: str
default: '' default: ''
version_added: '0.2.0' version_added: '0.2.0'
@ -64,7 +61,7 @@ options:
description: description:
- Number of retries client will try before aborting. - Number of retries client will try before aborting.
- V(0) indicates try until success. - V(0) indicates try until success.
- Only available when using python-influxdb >= 4.1.0 - Only available when using python-influxdb >= 4.1.0.
type: int type: int
default: 3 default: 3
use_udp: use_udp:

View file

@ -18,7 +18,6 @@ options:
- Port of FreeIPA / IPA server. - Port of FreeIPA / IPA server.
- If the value is not specified in the task, the value of environment variable E(IPA_PORT) will be used instead. - If the value is not specified in the task, the value of environment variable E(IPA_PORT) will be used instead.
- If both the environment variable E(IPA_PORT) and the value are not specified in the task, then default value is set. - If both the environment variable E(IPA_PORT) and the value are not specified in the task, then default value is set.
- Environment variable fallback mechanism is added in Ansible 2.5.
type: int type: int
default: 443 default: 443
ipa_host: ipa_host:
@ -26,9 +25,8 @@ options:
- IP or hostname of IPA server. - IP or hostname of IPA server.
- If the value is not specified in the task, the value of environment variable E(IPA_HOST) will be used instead. - If the value is not specified in the task, the value of environment variable E(IPA_HOST) will be used instead.
- If both the environment variable E(IPA_HOST) and the value are not specified in the task, then DNS will be used to try to discover the FreeIPA server. - If both the environment variable E(IPA_HOST) and the value are not specified in the task, then DNS will be used to try to discover the FreeIPA server.
- The relevant entry needed in FreeIPA is the 'ipa-ca' entry. - The relevant entry needed in FreeIPA is the C(ipa-ca) entry.
- If neither the DNS entry, nor the environment E(IPA_HOST), nor the value are available in the task, then the default value will be used. - If neither the DNS entry, nor the environment E(IPA_HOST), nor the value are available in the task, then the default value will be used.
- Environment variable fallback mechanism is added in Ansible 2.5.
type: str type: str
default: ipa.example.com default: ipa.example.com
ipa_user: ipa_user:
@ -36,7 +34,6 @@ options:
- Administrative account used on IPA server. - Administrative account used on IPA server.
- If the value is not specified in the task, the value of environment variable E(IPA_USER) will be used instead. - If the value is not specified in the task, the value of environment variable E(IPA_USER) will be used instead.
- If both the environment variable E(IPA_USER) and the value are not specified in the task, then default value is set. - If both the environment variable E(IPA_USER) and the value are not specified in the task, then default value is set.
- Environment variable fallback mechanism is added in Ansible 2.5.
type: str type: str
default: admin default: admin
ipa_pass: ipa_pass:
@ -47,14 +44,12 @@ options:
- If the environment variable E(KRB5CCNAME) is available, the module will use this kerberos credentials cache to authenticate to the FreeIPA server. - If the environment variable E(KRB5CCNAME) is available, the module will use this kerberos credentials cache to authenticate to the FreeIPA server.
- If the environment variable E(KRB5_CLIENT_KTNAME) is available, and E(KRB5CCNAME) is not; the module will use this kerberos keytab to authenticate. - If the environment variable E(KRB5_CLIENT_KTNAME) is available, and E(KRB5CCNAME) is not; the module will use this kerberos keytab to authenticate.
- If GSSAPI is not available, the usage of O(ipa_pass) is required. - If GSSAPI is not available, the usage of O(ipa_pass) is required.
- Environment variable fallback mechanism is added in Ansible 2.5.
type: str type: str
ipa_prot: ipa_prot:
description: description:
- Protocol used by IPA server. - Protocol used by IPA server.
- If the value is not specified in the task, the value of environment variable E(IPA_PROT) will be used instead. - If the value is not specified in the task, the value of environment variable E(IPA_PROT) will be used instead.
- If both the environment variable E(IPA_PROT) and the value are not specified in the task, then default value is set. - If both the environment variable E(IPA_PROT) and the value are not specified in the task, then default value is set.
- Environment variable fallback mechanism is added in Ansible 2.5.
type: str type: str
choices: [ http, https ] choices: [ http, https ]
default: https default: https

View file

@ -69,6 +69,7 @@ options:
type: int type: int
default: 10 default: 10
version_added: 4.5.0 version_added: 4.5.0
http_agent: http_agent:
description: description:
- Configures the HTTP User-Agent header. - Configures the HTTP User-Agent header.

View file

@ -30,7 +30,7 @@ options:
auth_url: auth_url:
description: description:
- lxca https full web address - lxca HTTPS full web address.
type: str type: str
required: true required: true
@ -38,7 +38,6 @@ requirements:
- pylxca - pylxca
notes: notes:
- Additional detail about pylxca can be found at U(https://github.com/lenovo/pylxca) - Additional detail about pylxca can be found at U(https://github.com/lenovo/pylxca).
- Playbooks using these modules can be found at U(https://github.com/lenovo/ansible.lenovo-lxca) - Playbooks using these modules can be found at U(https://github.com/lenovo/ansible.lenovo-lxca).
- Check mode is not supported.
''' '''

View file

@ -15,7 +15,7 @@ class ModuleDocFragment(object):
options: options:
config: config:
description: description:
- Path to a .json configuration file containing the OneView client configuration. - Path to a JSON configuration file containing the OneView client configuration.
The configuration file is optional and when used should be present in the host running the ansible commands. The configuration file is optional and when used should be present in the host running the ansible commands.
If the file path is not provided, the configuration will be loaded from environment variables. If the file path is not provided, the configuration will be loaded from environment variables.
For links to example configuration files or how to use the environment variables verify the notes section. For links to example configuration files or how to use the environment variables verify the notes section.
@ -42,7 +42,7 @@ options:
type: str type: str
requirements: requirements:
- python >= 2.7.9 - Python >= 2.7.9
notes: notes:
- "A sample configuration file for the config parameter can be found at: - "A sample configuration file for the config parameter can be found at:
@ -70,11 +70,11 @@ options:
options: options:
params: params:
description: description:
- List of params to delimit, filter and sort the list of resources. - List of parameters to delimit, filter and sort the list of resources.
- "params allowed: - "Parameter keys allowed are:"
- C(start): The first item to return, using 0-based indexing. - "C(start): The first item to return, using 0-based indexing."
- C(count): The number of resources to return. - "C(count): The number of resources to return."
- C(filter): A general filter/query string to narrow the list of items returned. - "C(filter): A general filter/query string to narrow the list of items returned."
- C(sort): The sort order of the returned data set." - "C(sort): The sort order of the returned data set."
type: dict type: dict
''' '''

View file

@ -20,7 +20,7 @@ options:
aliases: [ oauth_token ] aliases: [ oauth_token ]
api_url: api_url:
description: description:
- Online API URL - Online API URL.
type: str type: str
default: 'https://api.online.net' default: 'https://api.online.net'
aliases: [ base_url ] aliases: [ base_url ]
@ -36,7 +36,7 @@ options:
type: bool type: bool
default: true default: true
notes: notes:
- Also see the API documentation on U(https://console.online.net/en/api/) - Also see the API documentation on U(https://console.online.net/en/api/).
- If O(api_token) is not set within the module, the following - If O(api_token) is not set within the module, the following
environment variables can be used in decreasing order of precedence environment variables can be used in decreasing order of precedence
E(ONLINE_TOKEN), E(ONLINE_API_KEY), E(ONLINE_OAUTH_TOKEN), E(ONLINE_API_TOKEN). E(ONLINE_TOKEN), E(ONLINE_API_KEY), E(ONLINE_OAUTH_TOKEN), E(ONLINE_API_TOKEN).

View file

@ -64,7 +64,7 @@ options:
description: description:
- Configures the transport connection to use when connecting to the - Configures the transport connection to use when connecting to the
remote device. The transport argument supports connectivity to the remote device. The transport argument supports connectivity to the
device over ssh, cli or REST. device over SSH (V(ssh)), CLI (V(cli)), or REST (V(rest)).
required: true required: true
type: str type: str
choices: [ cli, rest, ssh ] choices: [ cli, rest, ssh ]

View file

@ -10,22 +10,21 @@ __metaclass__ = type
class ModuleDocFragment(object): class ModuleDocFragment(object):
DOCUMENTATION = """ DOCUMENTATION = """
requirements: requirements:
- "python >= 2.7" - Python SDK for Oracle Cloud Infrastructure U(https://oracle-cloud-infrastructure-python-sdk.readthedocs.io)
- Python SDK for Oracle Cloud Infrastructure U(https://oracle-cloud-infrastructure-python-sdk.readthedocs.io)
notes: notes:
- For OCI python sdk configuration, please refer to - For OCI Python SDK configuration, please refer to
U(https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/configuration.html) U(https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/configuration.html).
options: options:
config_file_location: config_file_location:
description: description:
- Path to configuration file. If not set then the value of the E(OCI_CONFIG_FILE) environment variable, - Path to configuration file. If not set then the value of the E(OCI_CONFIG_FILE) environment variable,
if any, is used. Otherwise, defaults to ~/.oci/config. if any, is used. Otherwise, defaults to C(~/.oci/config).
type: str type: str
config_profile_name: config_profile_name:
description: description:
- The profile to load from the config file referenced by O(config_file_location). If not set, then the - The profile to load from the config file referenced by O(config_file_location). If not set, then the
value of the E(OCI_CONFIG_PROFILE) environment variable, if any, is used. Otherwise, defaults to the value of the E(OCI_CONFIG_PROFILE) environment variable, if any, is used. Otherwise, defaults to the
"DEFAULT" profile in O(config_file_location). C(DEFAULT) profile in O(config_file_location).
default: "DEFAULT" default: "DEFAULT"
type: str type: str
api_user: api_user:
@ -70,8 +69,8 @@ class ModuleDocFragment(object):
description: description:
- OCID of your tenancy. If not set, then the value of the OCI_TENANCY variable, if any, is - OCID of your tenancy. If not set, then the value of the OCI_TENANCY variable, if any, is
used. This option is required if the tenancy OCID is not specified through a configuration file used. This option is required if the tenancy OCID is not specified through a configuration file
(See O(config_file_location)). To get the tenancy OCID, please refer (See O(config_file_location)). To get the tenancy OCID, please refer to
U(https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm) U(https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm).
type: str type: str
region: region:
description: description:

View file

@ -21,7 +21,7 @@ class ModuleDocFragment(object):
wait_until: wait_until:
description: The lifecycle state to wait for the resource to transition into when O(wait=true). By default, description: The lifecycle state to wait for the resource to transition into when O(wait=true). By default,
when O(wait=true), we wait for the resource to get into ACTIVE/ATTACHED/AVAILABLE/PROVISIONED/ when O(wait=true), we wait for the resource to get into ACTIVE/ATTACHED/AVAILABLE/PROVISIONED/
RUNNING applicable lifecycle state during create operation & to get into DELETED/DETACHED/ RUNNING applicable lifecycle state during create operation and to get into DELETED/DETACHED/
TERMINATED lifecycle state during delete operation. TERMINATED lifecycle state during delete operation.
type: str type: str
""" """

View file

@ -32,11 +32,10 @@ options:
- FlashBlade API token for admin privileged user. - FlashBlade API token for admin privileged user.
type: str type: str
notes: notes:
- This module requires the C(purity_fb) Python library - This module requires the C(purity_fb) Python library.
- You must set E(PUREFB_URL) and E(PUREFB_API) environment variables - You must set E(PUREFB_URL) and E(PUREFB_API) environment variables
if O(fb_url) and O(api_token) arguments are not passed to the module directly if O(fb_url) and O(api_token) arguments are not passed to the module directly.
requirements: requirements:
- python >= 2.7
- purity_fb >= 1.1 - purity_fb >= 1.1
''' '''
@ -54,10 +53,9 @@ options:
type: str type: str
required: true required: true
notes: notes:
- This module requires the C(purestorage) Python library - This module requires the C(purestorage) Python library.
- You must set E(PUREFA_URL) and E(PUREFA_API) environment variables - You must set E(PUREFA_URL) and E(PUREFA_API) environment variables
if O(fa_url) and O(api_token) arguments are not passed to the module directly if O(fa_url) and O(api_token) arguments are not passed to the module directly.
requirements: requirements:
- python >= 2.7
- purestorage - purestorage
''' '''

View file

@ -43,15 +43,14 @@ options:
type: bool type: bool
aliases: [ verify_ssl ] aliases: [ verify_ssl ]
requirements: requirements:
- python >= 2.6
- pyrax - pyrax
notes: notes:
- The following environment variables can be used, E(RAX_USERNAME), - The following environment variables can be used, E(RAX_USERNAME),
E(RAX_API_KEY), E(RAX_CREDS_FILE), E(RAX_CREDENTIALS), E(RAX_REGION). E(RAX_API_KEY), E(RAX_CREDS_FILE), E(RAX_CREDENTIALS), E(RAX_REGION).
- E(RAX_CREDENTIALS) and E(RAX_CREDS_FILE) point to a credentials file - E(RAX_CREDENTIALS) and E(RAX_CREDS_FILE) point to a credentials file
appropriate for pyrax. See U(https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md#authenticating) appropriate for pyrax. See U(https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md#authenticating).
- E(RAX_USERNAME) and E(RAX_API_KEY) obviate the use of a credentials file - E(RAX_USERNAME) and E(RAX_API_KEY) obviate the use of a credentials file.
- E(RAX_REGION) defines a Rackspace Public Cloud region (DFW, ORD, LON, ...) - E(RAX_REGION) defines a Rackspace Public Cloud region (DFW, ORD, LON, ...).
''' '''
# Documentation fragment including attributes to enable communication # Documentation fragment including attributes to enable communication
@ -67,7 +66,7 @@ options:
type: str type: str
description: description:
- The URI of the authentication service. - The URI of the authentication service.
- If not specified will be set to U(https://identity.api.rackspacecloud.com/v2.0/) - If not specified will be set to U(https://identity.api.rackspacecloud.com/v2.0/).
credentials: credentials:
type: path type: path
description: description:
@ -110,13 +109,12 @@ deprecated:
why: This module relies on the deprecated package pyrax. why: This module relies on the deprecated package pyrax.
alternative: Use the Openstack modules instead. alternative: Use the Openstack modules instead.
requirements: requirements:
- python >= 2.6
- pyrax - pyrax
notes: notes:
- The following environment variables can be used, E(RAX_USERNAME), - The following environment variables can be used, E(RAX_USERNAME),
E(RAX_API_KEY), E(RAX_CREDS_FILE), E(RAX_CREDENTIALS), E(RAX_REGION). E(RAX_API_KEY), E(RAX_CREDS_FILE), E(RAX_CREDENTIALS), E(RAX_REGION).
- E(RAX_CREDENTIALS) and E(RAX_CREDS_FILE) points to a credentials file - E(RAX_CREDENTIALS) and E(RAX_CREDS_FILE) points to a credentials file
appropriate for pyrax. See U(https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md#authenticating) appropriate for pyrax. See U(https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md#authenticating).
- E(RAX_USERNAME) and E(RAX_API_KEY) obviate the use of a credentials file - E(RAX_USERNAME) and E(RAX_API_KEY) obviate the use of a credentials file.
- E(RAX_REGION) defines a Rackspace Public Cloud region (DFW, ORD, LON, ...) - E(RAX_REGION) defines a Rackspace Public Cloud region (DFW, ORD, LON, ...).
''' '''

View file

@ -42,7 +42,7 @@ options:
type: bool type: bool
default: true default: true
notes: notes:
- Also see the API documentation on U(https://developer.scaleway.com/) - Also see the API documentation on U(https://developer.scaleway.com/).
- If O(api_token) is not set within the module, the following - If O(api_token) is not set within the module, the following
environment variables can be used in decreasing order of precedence environment variables can be used in decreasing order of precedence
E(SCW_TOKEN), E(SCW_API_KEY), E(SCW_OAUTH_TOKEN) or E(SCW_API_TOKEN). E(SCW_TOKEN), E(SCW_API_KEY), E(SCW_OAUTH_TOKEN) or E(SCW_API_TOKEN).

View file

@ -14,7 +14,7 @@ options:
headers: headers:
description: description:
- A dictionary of additional headers to be sent to POST and PUT requests. - A dictionary of additional headers to be sent to POST and PUT requests.
- Is needed for some modules - Is needed for some modules.
type: dict type: dict
required: false required: false
default: {} default: {}
@ -30,8 +30,9 @@ options:
default: 4444 default: 4444
utm_token: utm_token:
description: description:
- "The token used to identify at the REST-API. See U(https://www.sophos.com/en-us/medialibrary/\ - "The token used to identify at the REST-API. See
PDFs/documentation/UTMonAWS/Sophos-UTM-RESTful-API.pdf?la=en), Chapter 2.4.2." U(https://www.sophos.com/en-us/medialibrary/PDFs/documentation/UTMonAWS/Sophos-UTM-RESTful-API.pdf?la=en),
Chapter 2.4.2."
type: str type: str
required: true required: true
utm_protocol: utm_protocol:
@ -48,8 +49,8 @@ options:
state: state:
description: description:
- The desired state of the object. - The desired state of the object.
- V(present) will create or update an object - V(present) will create or update an object.
- V(absent) will delete an object if it was present - V(absent) will delete an object if it was present.
type: str type: str
choices: [ absent, present ] choices: [ absent, present ]
default: present default: present

View file

@ -30,11 +30,13 @@ options:
user: user:
description: description:
- Vexata API user with administrative privileges. - Vexata API user with administrative privileges.
- Uses the E(VEXATA_USER) environment variable as a fallback.
required: false required: false
type: str type: str
password: password:
description: description:
- Vexata API user password. - Vexata API user password.
- Uses the E(VEXATA_PASSWORD) environment variable as a fallback.
required: false required: false
type: str type: str
validate_certs: validate_certs:
@ -48,7 +50,6 @@ options:
requirements: requirements:
- Vexata VX100 storage array with VXOS >= v3.5.0 on storage array - Vexata VX100 storage array with VXOS >= v3.5.0 on storage array
- vexatapi >= 0.0.1 - vexatapi >= 0.0.1
- python >= 2.7 - E(VEXATA_USER) and E(VEXATA_PASSWORD) environment variables must be set if
- VEXATA_USER and VEXATA_PASSWORD environment variables must be set if
user and password arguments are not passed to the module directly. user and password arguments are not passed to the module directly.
''' '''