cloudera.exe.prereq_dataviz_database role – Set up database and user accounts for Dataviz

Note

This role is part of the cloudera.exe collection (version 3.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.exe..

To use it in a playbook, specify: cloudera.exe.prereq_dataviz_database.

Entry point main – Set up database and user accounts for Dataviz

New in cloudera.exe 3.0.0

Synopsis

  • Set up the Dataviz database and its associated user accounts, ensuring proper configuration for Dataviz operations.

  • Default values are used for the username, password, and database name, but these can be overwritten by setting the c(dataviz_username), dataviz_password, and dataviz_database variables.

Parameters

Parameter

Comments

database_admin_password

string / required

The password for the database administrative user.

database_admin_user

string / required

The username with administrative privileges to manage the database.

database_host

string / required

The hostname or IP address of the database server to establish the connection.

database_type

string / required

Specifies the type of database to connect to (e.g., PostgreSQL, MySQL, Oracle).

Choices:

  • "postgresql"

  • "mysql"

  • "oracle"

dataviz_database

string

The name of the database to be created for Dataviz.

Default: "dataviz"

dataviz_password

string

The password for the Dataviz database user.

Default: "dataviz"

dataviz_username

string

The username for the Dataviz database user and owner of the database.

Default: "dataviz"

Authors

  • Cloudera Labs