cloudera.exe.cm_prepare_db module – Configure the external Cloudera Manager server database
Note
This module 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.cm_prepare_db
.
New in cloudera.exe 3.0.0
Synopsis
Configure the external Cloudera Manager server database.
Parameters
Parameter |
Comments |
---|---|
The database properties configuration file. Default: |
|
The name of the database. |
|
The database server host. |
|
The password to access the database server. |
|
The database server port. |
|
The script to execute. |
|
The database type to install. Choices:
|
|
The username to access the database server. |
Examples
- name: Prepare Cloudera Manager server external database
cloudera.exe.cm_prepare_db:
script: /opt/scm_prepare_database.sh
type: postreqsql
host: db.example.internal
port: 7717
database: cms
username: cms_db_user
password: SuperSecretPassword