This repository has been 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
160 lines (136 loc) · 7.02 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
---
# 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 TAC"
rpm_name: "talend-tac"
rpm_folder: "tac"
app_service: "talend-tac"
##########################################################################
# TAC-specific configuration variables
# We will use "tac_" 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
# - (TAC-specific) TAC 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: "8080" # 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's tomcat
app_tomcat_mode: "direct" # can be one of "direct" or "shared"
app_tomcat_setup: "no" # whether to update customer's tomcat configuration (ports)
#####
# Installation as systemd service
#####
app_install_systemd: "yes" # allowed values "yes" and "no"
# TAC web-application name, default is org.talend.administrator
tac_webapp_name: org.talend.administrator
# Internal configuration variables, do not change this block
#
tac_webapps_location: "{{ install_prefix + '/tac/tomcat/webapps' if app_use_talend_tomcat == 'yes' or app_tomcat_mode == 'shared' else app_tomcat_home + '/webapps' }}"
tac_config_location: "{{ tac_webapps_location + '/' + tac_webapp_name + '/WEB-INF/classes' }}"
#
# End of internal configuration variables block
#########################################
#
# Parameters below can be used for configuration updates (re-configuration) "on the fly"
#
#########################################
# Admin user/password
tac_admin_user: "[email protected]"
tac_admin_pass: "admin"
# Use SSO ("yes" or "no")
tac_use_sso: "no"
# LogServer parameters
tac_audit_log_enabled: "yes"
# Database parameters
# TAC_DATABASE = h2 | mysql | oracle | mssql | postgresql | mariadb
tac_database: "mysql"
tac_db_host: "localhost"
tac_db_port: 3306
tac_db_name: "talend_administrator"
tac_db_user: "talend"
tac_db_password: "talend"
tac_db_driver: "" # Required for non-H2 databases, driver jar location
# Setup JobServer
tac_setup_jobserver: "yes" # allowed values are "yes" or "no"
tac_jobserver_name: "jobserver"
tac_jobserver_host: "localhost"
tac_jobserver_command_port: 8000
tac_jobserver_file_transfer_port: 8001
tac_jobserver_monitoring_port: 8888
tac_jobserver_username: "talend" # may be empty, if not specified
tac_jobserver_password: "talend" # may be empty, if not specified
# Setup jobExecution root path
tac_scheduler_conf_jobExecutionLogs_rootPath: "{{ install_prefix + '/tac/executionLogs' }}"
tac_scheduler_conf_archivesJobsRootPath: "{{ install_prefix + '/tac/archivesJobs' }}"
# Setup http appender
tac_appender_http_host: "localhost"
tac_appender_http_port: 8057
tac_appender_http_auth: "no"
tac_appender_http_username: "talendlogs"
tac_appender_http_password: "tpsvclogs"
# Setup external repositories configuration
# There are 4 possible connections:
# - Talend Updates repository
# - TAC Downloads repository (caches locally artifacts from Talend Update repository)
# - TAC Jobs repository (repository to store job artifacts)
# - TAC Custom Libs repository
#
# All repositories (except of Talend Updates) can be one of three possible types:
# - nexus2
# - nexus3
# - artifactory
#
tac_repo_config: "no" # A "master" switch for configuring TAC repository connections
tac_updates_repository: "no" # configures Talend Updates repository connection (also "tac_repo_config" must be set to "yes" to make it active)
tac_updates_repository_url: "https://talend-update.talend.com/nexus"
tac_updates_repository_user: ""
tac_updates_repository_password: ""
tac_downloads_repository: "no" # configures Downloads repo connection (also "tac_repo_config" and "tac_updates_repository" must be "yes" to make it active)
tac_downloads_repository_type: "nexus2" # Can be one of "nexus2", "nexus3" or "artifactory"
tac_downloads_repository_url: ""
tac_downloads_repository_user: ""
tac_downloads_repository_password: ""
tac_downloads_repository_reader_user: ""
tac_downloads_repository_reader_password: ""
tac_downloads_repository_repository_id: ""
tac_jobs_repository: "no" # configures Jobs repo connection (also "tac_repo_config" must be "yes" to make it active)
tac_jobs_repository_type: "nexus2" # Can be one of "nexus2", "nexus3" or "artifactory"
tac_jobs_repository_url: ""
tac_jobs_repository_user: ""
tac_jobs_repository_password: ""
tac_jobs_repository_releases: "" # Default repository for releases
tac_jobs_repository_snapshots: "" # Default repository for snapshots
tac_custom_libs_repository: "no" # configures custom libs repo connection (also "tac_repo_config" must be "yes" to make it active)
tac_custom_libs_repository_type: "nexus2" # Can be one of "nexus2", "nexus3" or "artifactory"
tac_custom_libs_repository_url: ""
tac_custom_libs_repository_user: ""
tac_custom_libs_repository_password: ""
tac_custom_libs_repository_releases: "" # Default repository for releases
tac_custom_libs_repository_snapshots: "" # Default repository for snapshots
# Install license automatically during installation
# Note that file must be on the controller host (local file)
tac_install_license: "no" # Allowed values 'yes' or 'no'
tac_license_file: ""
###################################
# A service block, do not change
###################################
tac_swupd_repotype: "{{ 'Artifactory' if tac_downloads_repository_type == 'artifactory' else 'NEXUS' if tac_downloads_repository_type == 'nexus2' else 'NEXUS 3' }}"
tac_swupd_selector: "{{ '' if tac_downloads_repository_type == 'nexus2' else 'artifactory.' if tac_downloads_repository_type == 'artifactory' else 'nexus3.' }}"
tac_swupd_selector2: "{{ 'nexus' if tac_downloads_repository_type == 'nexus2' else tac_downloads_repository_type }}"
tac_jobs_repotype: "{{ 'Artifactory' if tac_jobs_repository_type == 'artifactory' else 'NEXUS' if tac_jobs_repository_type == 'nexus2' else 'NEXUS 3' }}"
tac_jobs_selector: "{{ 'nexus' if tac_jobs_repository_type == 'nexus2' else 'artifactory' if tac_jobs_repository_type == 'artifactory' else 'nexus3' }}"
tac_clib_repotype: "{{ 'Artifactory' if tac_custom_libs_repository_type == 'artifactory' else 'NEXUS' if tac_custom_libs_repository_type == 'nexus2' else 'NEXUS 3' }}"
tac_clib_selector: "{{ 'nexus' if tac_custom_libs_repository_type == 'nexus2' else 'artifactory' if tac_custom_libs_repository_type == 'artifactory' else 'nexus3' }}"