cloudera.cluster.data_context_info module – Retrieve details of data contexts
Note
This module is part of the cloudera.cluster collection (version 5.0.0).
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.cluster
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: cloudera.cluster.data_context_info
.
New in cloudera.cluster 5.0.0
Synopsis
Retrieve details of a specific data context or all data contexts within the Cloudera Manager.
Requirements
The below requirements are needed on the host that executes this module.
cm_client
Parameters
Parameter |
Comments |
---|---|
The name of the data context. |
Examples
- name: Gather details about specific data context
cloudera.cluster.data_context_info:
host: example.cloudera.com
username: "jane_smith"
password: "S&peR4Ec*re"
name: "SDX"
- name: Gather details about all data contexts within the cluster
cloudera.cluster.data_context_info:
host: example.cloudera.com
username: "jane_smith"
password: "S&peR4Ec*re"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
List of data contexts within the cluster. Returned: always |
|
The list of allowed cluster versions within data context. Returned: always |
|
Status of the client configuration within data context. Returned: always |
|
Status of the configuration within data context. Returned: always |
|
The timestamp indicating when the data context was created. Returned: always |
|
The display name of the data context. Returned: always |
|
The health status of the data context. Returned: always |
|
The timestamp indicating the last modification of the data context. Returned: always |
|
The name of the data context. Returned: always |
|
The name service that data context belongs to. Returned: always |
|
The list of services associated with data context. Returned: always |
|
The list of supported services types within data context. Returned: always |