cloudera.cloud.opdb_info module – Gather information about CDP OpDB Databases
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.opdb_info
.
Synopsis
Gather information about CDP OpDB Databases
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:
|
|
The name of the Environment in which to find and describe the OpDB Databases. Required with name to retrieve a Database |
|
If a
|
|
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 OpDB Databases
- cloudera.cloud.opdb_info:
# Gather detailed information about a named Database
- cloudera.cloud.opdb_info:
name: example-database
env: example-environment
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The information about the named Database or Databases Returned: always |
|
The creation time of the database in UTC. Returned: always |
|
The CRN of the database creator. Returned: always |
|
The database’s crn. Returned: always |
|
The name of the database. Returned: always |
|
The version of the Database. Returned: always |
|
The crn of the database’s environment. Returned: always |
|
The name of the Database’s environment Returned: always |
|
The Hue endpoint for the Database. Returned: always |
|
Internal cluster name for this database Returned: always |
|
The Kubernetes cluster name. Returned: always |
|
The status of the Database Returned: always |
|
HBase cloud storage location Returned: always |
|
Returns the captured CDP SDK log. Returned: when supported |
|
Returns a list of each line of the captured CDP SDK log. Returned: when supported |