thalesgroup.ciphertrust.connection_manager_hadoop module – Manage connections to the Hadoop servers

Note

This module is part of the thalesgroup.ciphertrust collection (version 1.0.0).

To install it, use: ansible-galaxy collection install thalesgroup.ciphertrust.

To use it in a playbook, specify: thalesgroup.ciphertrust.connection_manager_hadoop.

New in thalesgroup.ciphertrust 1.0.0

Synopsis

  • This is a Thales CipherTrust Manager module for working with the CipherTrust Manager APIs, more specifically with Connection Manager API for Hadoop

Parameters

Parameter

Comments

connection_id

string

Unique ID of the connection to be updated

Default: "none"

description

string

Description about the connection

Default: "none"

hostname

string

hostname for Hadoop Server

localNode

dictionary / required

this holds the connection parameters required to communicate with an instance of CipherTrust Manager (CM)

holds IP/FQDN of the server, username, password, and port

password

string / required

admin password of CM

server_ip

string / required

CM Server IP or FQDN

server_port

integer / required

Port on which CM server is listening

Default: 5432

server_private_ip

string / required

internal or private IP of the CM Server, if different from the server_ip

user

string / required

admin username of CM

verify

boolean / required

if SSL verification is required

Choices:

  • false ← (default)

  • true

meta

dictionary

Optional end-user or service data stored with the connection

name

string / required

Unique connection name

Default: "none"

node_id

string

Unique ID of the Hadoop node to be updated or removed

nodes

list / elements=dictionary

Hadoop nodes information

hostname

string

hostname for Hadoop Server

path

string

path for Hadoop Server

port

integer

port for Hadoop Server. Possible values 1-65535

protocol

string

http or https protocol to be used for communication with the Hadoop node (https required for hadoop-knox)

server_certificate

string

SSL certificate for Hadoop Server TLS communication

op_type

string / required

Operation to be performed

Choices:

  • "create"

  • "patch"

  • "add_node"

  • "update_node"

  • "delete_node"

password

string

Password for Hadoop server (required for Knox)

Default: "none"

path

string

path for Hadoop Server

port

integer

port for Hadoop Server. Possible values 1-65535

products

list / elements=string

Array of the CipherTrust products associated with the connection.

Default: ["none"]

protocol

string

http or https protocol to be used for communication with the Hadoop node (https required for hadoop-knox)

server_certificate

string

SSL certificate for Hadoop Server TLS communication

service

string

Name of the third-party service associated with the resource. Examples are aws, azure, gcp, luna network, and hadoop-knox

Default: "none"

topology

string

Topology deployment of the Knox gateway

Default: "none"

username

string

Username for accessing Hadoop server (required for Knox)

Default: "none"

Examples

- name: "Create Hadoop Connection"
  thalesgroup.ciphertrust.connection_manager_hadoop:
    localNode:
        server_ip: "IP/FQDN of CipherTrust Manager"
        server_private_ip: "Private IP in case that is different from above"
        server_port: 5432
        user: "CipherTrust Manager Username"
        password: "CipherTrust Manager Password"
        verify: false
    op_type: create
    name: knoxConnection
    service: hadoop-knox
    products:
      - cte
      - "data discovery"
    username: user
    password: pwd
    topology: default
    nodes:
      - hostname: node1
        port: 1234
        protocol: https
        server_certificate: "-----cert-----"


- name: "Update Hadoop Connection"
  thalesgroup.ciphertrust.connection_manager_hadoop:
    localNode:
        server_ip: "IP/FQDN of CipherTrust Manager"
        server_private_ip: "Private IP in case that is different from above"
        server_port: 5432
        user: "CipherTrust Manager Username"
        password: "CipherTrust Manager Password"
        verify: false
    op_type: patch

Authors

  • Anurag Jain, Developer Advocate Thales Group