cloudera.cluster.deprecation module – Display a deprecation warning

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.

To use it in a playbook, specify: cloudera.cluster.deprecation.

New in cloudera.cluster 5.0.0

Synopsis

  • Displays a standard Ansible deprecation warning

Parameters

Parameter

Comments

msg

string / required

The deprecation warning message.

version

string

Version details for the warning message.

Examples

- name: Display a deprecation warning
  cloudera.cluster.deprecation:
    msg: A custom warning

- name: Display the deprecation warning with version details
  cloudera.cluster.deprecation:
    msg: A custom warning with version info
    version: "5.0.0"

Authors

  • Webster Mudge (@wmudge)