cloudera.cluster.assemble_template role – Discover and render files into a cluster template

Note

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

To install it use: ansible-galaxy collection install cloudera.cluster.

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

Entry point main – Discover and render files into a cluster template

Synopsis

  • Discovers fragment files in a specified directory, loops through fragment files rendering them through ansible.builtin.template, places them in a temporary directory, and then assembles a single, final cluster template.

  • Fragment files must be located on the Ansible controller since ansible.builtin.template only executes on the controller.

  • This ensures that the template processing occurs on the Ansible controller machine.

Parameters

Parameter

Comments

cluster_template_file

path / required

Destination of the assembled cluster template

cluster_template_fragments_directory

path / required

Path to the directory containing fragment files for the cluster template

cluster_template_fragments_regex

string

Regex pattern for filtering fragment files (optional)

Authors

  • Ronald Suplina