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

name

aliases: context_name, data_context_name

string

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

data_context_info

list / elements=dictionary

List of data contexts within the cluster.

Returned: always

allowed_cluster_versions

list / elements=string

The list of allowed cluster versions within data context.

Returned: always

client_config_staleness_status

string

Status of the client configuration within data context.

Returned: always

config_staleness_status

string

Status of the configuration within data context.

Returned: always

created_time

string

The timestamp indicating when the data context was created.

Returned: always

display_name

string

The display name of the data context.

Returned: always

health_summary

string

The health status of the data context.

Returned: always

last_modified_time

string

The timestamp indicating the last modification of the data context.

Returned: always

name

string

The name of the data context.

Returned: always

nameservice

string

The name service that data context belongs to.

Returned: always

services

list / elements=string

The list of services associated with data context.

Returned: always

supported_service_types

list / elements=string

The list of supported services types within data context.

Returned: always

Authors

  • Ronald Suplina (@rsuplina)