cloudera.cluster.cm_license module – Activate the license for Cloudera Manager

Note

This module is part of the cloudera.cluster collection (version 4.4.0).

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.cm_license.

Synopsis

  • Activates the license if not already activated.

  • Return information about the acivate license.

Requirements

The below requirements are needed on the host that executes this module.

  • cm_client

Examples

---
- name: Activate Cloudera Manager license
  cloudera.cluster.cm_license:
    host: example.cloudera.com
    port: "7180"
    username: "jane_smith"
    password: "S&peR4Ec*re"
    license: "./files/license.txt"

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

cloudera_manager

dictionary

Details about a active license

Returned: success

deactivation_date

string

Date until license is valid

Returned: optional

expiration

string

Expiration date of the license

Returned: optional

features

list / elements=string

List of features within the license

Returned: optional

owner

string

Owner of the license

Returned: optional

start_date

string

License activation date

Returned: optional

uuid

boolean

Unique ID of the license

Returned: optional


Authors

  • Ronald Suplina (@rsuplina)

Collection links