|
| 1 | +# Copyright 2024 Cloudera, Inc. |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# https://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | + |
| 15 | +--- |
| 16 | + |
| 17 | +argument_specs: |
| 18 | + main: |
| 19 | + short_description: Install standalone RDBMS instance |
| 20 | + description: |
| 21 | + - Install and configure a standalone RDBMS instance for use with Cloudera Manager. |
| 22 | + - Database options include PostgreSQL, MySQL, and MariaDB. |
| 23 | + - Supports TLS connections. |
| 24 | + options: |
| 25 | + database_tls: |
| 26 | + description: Flag to enable TLS configuration. |
| 27 | + type: bool |
| 28 | + default: false |
| 29 | + database_type: |
| 30 | + description: Database product to install. |
| 31 | + type: str |
| 32 | + required: false |
| 33 | + default: postgresql |
| 34 | + choices: |
| 35 | + - postgresql |
| 36 | + - mysql |
| 37 | + - mariadb |
| 38 | + database_version: |
| 39 | + description: Database product version to install. |
| 40 | + type: str |
| 41 | + required: false |
| 42 | + default: 14 |
| 43 | + skip_rdbms_repo_setup: |
| 44 | + description: Flag to enable RDBMS repository set up on target host. |
| 45 | + type: bool |
| 46 | + required: false |
| 47 | + default: false |
| 48 | + mysql_require_secure_transport: |
| 49 | + description: Value for the C(require_secure_transport) parameter in the C([mysqld]) configuration. (MySQL only) |
| 50 | + type: str |
| 51 | + required: false |
| 52 | + default: "OFF" |
| 53 | + base_dir_security_pki: |
| 54 | + description: |
| 55 | + - Directory on target host housing typical PKI files. |
| 56 | + - Used to establish a base directory for the other TLS options. |
| 57 | + type: path |
| 58 | + required: false |
| 59 | + default: "/opt/cloudera/security/pki" |
| 60 | + tls_chain_path: |
| 61 | + description: File on the target host consisting of an ordered list of certificates, including TLS certificates and Certificate Authority (CA) certificates. |
| 62 | + type: path |
| 63 | + required: false |
| 64 | + default: "O(base_dir_security_pki)/chain.pem" |
| 65 | + tls_cert_path_generic: |
| 66 | + description: File on the target host consisting of the TLS certificate for the server. |
| 67 | + type: path |
| 68 | + required: false |
| 69 | + default: "O(base_dir_security_pki)/host.pem" |
| 70 | + tls_key_path_plaintext_generic: |
| 71 | + description: File on the target host consisting of the unencrypted TLS private key for the server. |
| 72 | + type: path |
| 73 | + required: false |
| 74 | + default: "O(base_dir_security_pki)/host.key.unenc" |
0 commit comments