cloudera.cloud.env_telemetry module – Set CDP environment telemetry
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_telemetry
.
Synopsis
Set a CDP environment deployment log collection and workload analytics.
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:
|
|
A flag to specify the availability of the environment’s deployment log collection. Choices:
|
|
The targeted environment. |
|
If provided, the CDP SDK will use this value as its profile. |
|
Verify the TLS certificates for the CDP endpoint. Choices:
|
|
A flag to specify the availability of the environment’s workload analytics. Choices:
|
Examples
# Note: These examples do not set authentication details.
# Turn off both workload analytics and log collection
- cloudera.cloud.env_telemetry:
name: the-environment
workload_analytics: no
logs_collection: no
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Returns the captured CDP SDK log. Returned: when supported |
|
Returns a list of each line of the captured CDP SDK log. Returned: when supported |