This repository was archived by the owner on Sep 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathmain.yml
112 lines (94 loc) · 4.19 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
---
# app_name, rpm_name and rpm_folder are standard variables, must be redefined for each role
# it allows re-usage of tasks
app_name: "Talend MDM"
rpm_name: "talend-mdm"
rpm_folder: "mdm"
app_service: "talend-mdm"
##########################################################################
# MDM-specific configuration variables
# We will use "mdm_" prefix in var names
##########################################################################
#####################################
#
# ATTENTION: Some variables can be set only for new installation !
# They will not affect existing installation !
# If one of these needs to be changed, this can be done manually or by removing s/w
# Such variables include:
# - Tomcat selection variables
# - Systemd selection variable
# - (MDM-specific) MDM web application name variable
#
#####################################
#####
# Tomcat-selection variables
#####
# This var shows whether we should use talend-tomcat in 'shared' mode (default settings)
app_use_talend_tomcat: "yes" # allowed values are "yes" or "no"
app_tomcat_port: "8180" # tomcat_port is used only if tomcat_setup == "yes" (or when app_use_talend_tomcat == "yes")
# The following variables will be taken in account only if app_use_talend_tomcat == "no"
app_tomcat_home: "/opt/tomcat" # home folder for customer tomcat
app_tomcat_mode: "direct" # can be "direct" or "shared"
app_tomcat_setup: "no" # whether to update customer tomcat configuration (ports)
#####
# Installation as systemd service
#####
app_install_systemd: "yes" # allowed values "yes" and "no"
#####
# MDM web-application name, default is "talendmdm"
#####
mdm_webapp_name: talendmdm
#########################################
#
# Parameters below can be used for configuration updates (re-configuration) "on the fly"
#
#########################################
# Talend license file to use. Note that file must be on the controller host (local file)
# It is a mandatory parameter and MDM installation will fail if it is left empty
mdm_license_file: ""
# Use Audit enablement for Talend LogServer
mdm_audit_log_enabled: "yes" # allowed values 'yes' or 'no'
mdm_audit_server_host: "localhost"
mdm_audit_server_port: 8057
# Communication with IAM
mdm_iam_url: "http://localhost:9080"
mdm_oidc_url: "{{ mdm_iam_url }}/oidc"
mdm_oidc_userauth_url: "{{ mdm_iam_url }}/oidc"
mdm_scim_url: "{{ mdm_iam_url }}/scim"
# Communication with TDS
mdm_tds_root_url: "http://localhost:19999"
mdm_tds_user: "[email protected]"
mdm_tds_password: "administrator"
# New parameters for Data Authoring
mdm_host_frontend: "http://localhost:{{ app_tomcat_port }}"
mdm_host_proxy: "http://localhost:{{ app_tomcat_port }}"
mdm_server_host: "http://localhost:{{ app_tomcat_port }}"
mdm_tdp_url: "http://localhost:9999"
# Database parameters
# MDM_DATABASE = h2 | mysql8 | mysql | oracle | mssql | postgresql | db2
mdm_database: "mysql8"
mdm_db_name: "${container}" # Default: oracle/db2=TMDM_DB; others=${container}
mdm_db_host: "localhost"
mdm_db_port: "3306" # Default: mysql8/mysql=3306; oracle=1521; mssql=1433; postgresql=5432; db2=50000
mdm_db_user: "system" # Default: oracle=mdm_master for Master
mdm_db_password: "" # Default: oracle=mdm_master for Master
mdm_db_driver: "" # Required for non-H2 databases, driver jar location
mdm_db_driver_extra1: "/root/jdbc-lib/db2jcc_license_cisuz.jar" # DB2 Only
mdm_db_driver_extra2: "/root/jdbc-lib/db2jcc_license_cu.jar" # DB2 Only
mdm_search_index_dir: "{{ install_prefix + '/'+ rpm_folder +'/data/indexes/' + mdm_database + '-default/index' }}"
# For oracle & db2
mdm_db_schema: "mdm_master"
mdm_db_staging_schema: "mdm_staging"
mdm_db_staging_user: "mdm_staging"
mdm_db_staging_password: "mdm_staging"
mdm_db_system_schema: "mdm_system"
mdm_db_system_user: "mdm_system"
mdm_db_system_password: "mdm_system"
#####
# Internal configuration variables, do not change this block
#####
mdm_config_location: "{{ install_prefix + '/' + rpm_folder + '/conf' }}"
mdm_tomcat_config_location: "{{ install_prefix + '/' + rpm_folder + '/tomcat/conf' if app_use_talend_tomcat == 'yes' or app_tomcat_mode == 'shared' else app_tomcat_home + '/conf'}}"
#####
# End of internal configuration variables block
#####