cloudera.cloud.env_info module – Gather information about CDP Environments
Note
This module is part of the cloudera.cloud collection (version 2.5.1).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install cloudera.cloud
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: cloudera.cloud.env_info
.
Synopsis
Gather information about CDP Environments
Requirements
The below requirements are needed on the host that executes this module.
cdpy
Parameters
Parameter |
Comments |
---|---|
Specify the Cloudera Data Platform endpoint region. Default: |
|
Capture the CDP SDK debug log. Choices:
|
|
Gather information about descendant deployments such as Datahubs and Experiences Choices:
|
|
If a name is provided, that environment will be described If no name is provided, all environments will be listed |
|
If provided, the CDP SDK will use this value as its profile. |
|
Verify the TLS certificates for the CDP endpoint. Choices:
|
Examples
# Note: These examples do not set authentication details.
# List basic information about all Environments
- cloudera.cloud.env_info:
# Gather detailed information about a named Environment
- cloudera.cloud.env_info:
name: example-environment
descendants: True
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The information about the named Environment or Environments Returned: on success |
|
Additional SSH key authentication configuration for accessing cluster node instances of the Environment. Returned: always |
|
SSH user name created on the node instances for SSH access. Returned: always Sample: |
|
SSH Public key string Returned: when supported Sample: |
|
Public SSH key ID registered in the cloud provider. Returned: when supported Sample: |
|
AWS-specific environment configuration information. Returned: when supported |
|
The name for the DynamoDB table backing S3Guard. Returned: always Sample: |
|
Cloud provider of the Environment. Returned: always Sample: |
|
Name of the CDP Credential of the Environment. Returned: always Sample: |
|
CDP CRN value for the Environment. Returned: always Sample: |
|
Additional descriptions of all descendant Datahub or Experience Services Contains a list of zero or more description objects for descendants found Note that resolving this may be very slow, especially for a large list of environments Returned: when requested |
|
List of descriptions of zero or more Datahubs in this Environment Returned: success |
|
List of descriptions of zero or more Datawarehouse Experiences in this Environment Returned: success |
|
List of descriptions of zero or more Machine learning Workspaces in this Environment Returned: success |
|
List of descriptions of zero or more Operational Database Experiences in this Environment Returned: success |
|
Description of the Environment. Returned: always Sample: |
|
Name of the Environment. Returned: always Sample: |
|
Details of a FreeIPA instance in the Environment. Returned: always |
|
CRN of the FreeIPA instance. Returned: always Sample: |
|
Domain name of the FreeIPA instance. Returned: always Sample: |
|
Hostname of the FreeIPA instance. Returned: always Sample: |
|
IP addresses of the FreeIPA instance. Returned: always Sample: |
|
Storage configuration for cluster and audit logs for the Environment. Returned: always |
|
AWS-specific log storage configuration details. Returned: when supported |
|
AWS instance profile that contains the necessary permissions to access the S3 storage location. Returned: always Sample: |
|
Base location to store logs in S3. Returned: always Sample: |
|
Azure-specific log storage configuration details. Returned: when supported |
|
Azure managing identity associated with the logger. This identify should have the Storage Blob Data Contributor role on the given storage account. Returned: always Sample: |
|
Base location to store logs in Azure Blob Storage. Returned: always Sample: |
|
Flag for external log storage. Returned: always |
|
Network details for the Environment Returned: always |
|
AWS networking specifics for the Environment. Returned: when supported |
|
VPC identifier. Returned: always Sample: |
|
Azure networking specifics for the Environment. Returned: when supported |
|
VNet identifier. Returned: always Sample: |
|
Resource Group name. Returned: always Sample: |
|
Flag for associating public IP addresses to the resources within the network. Returned: always |
|
Google networking specifics for the Environment. Returned: when supported |
|
VNet identifier. Returned: always Sample: |
|
The Id of the Google project associated with the VPC. Returned: always Sample: |
|
Flag for associating public IP addresses to the resources within the network. Returned: always |
|
Range of private IPv4 addresses that resources will use for the Environment. Returned: always Sample: |
|
Subnet identifiers for the Environment. Returned: always Sample: |
|
Additional subnet metadata for the Environment. Returned: always |
|
Keyed subnet identifier. Returned: always |
|
Availability zone (AWS only) Returned: when supported Sample: |
|
Identifier for the subnet Returned: always Sample: |
|
Name of the subnet Returned: always Sample: |
|
Proxy configuration of the Environment. Returned: when supported |
|
CDP CRN for the proxy configuration. Returned: always Sample: |
|
Description of the proxy.. Returned: always Sample: |
|
Proxy host. Returned: always Sample: |
|
Proxy user password. Returned: always Sample: |
|
Proxy port. Returned: always Sample: |
|
Proxy protocol. Returned: always Sample: |
|
Name of the proxy configuration. Returned: always Sample: |
|
Proxy user name. Returned: always Sample: |
|
Cloud provider region of the Environment. Returned: always Sample: |
|
Security control configuration for FreeIPA and Datalake deployment in the Environment. Returned: always |
|
CIDR range which is allowed for inbound traffic. Either IPv4 or IPv6 is allowed. Returned: when supported Sample: |
|
Security group associated with Knox-enabled hosts. Returned: when supported Sample: |
|
Security group associated with all other hosts (non-Knox). Returned: when supported Sample: |
|
Status of the Environment. Returned: always Sample: |
|
Description for the status code of the Environment. Returned: when supported |
|
Returns the captured CDP SDK log. Returned: when supported |
|
Returns a list of each line of the captured CDP SDK log. Returned: when supported |