mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 10:23:13 -06:00
DCD-1123: Make clustering optional for BB, and misc. config cleanups.
This commit is contained in:
@@ -1 +0,0 @@
|
||||
---
|
||||
4
roles/bitbucket_config/defaults/main.yaml
Normal file
4
roles/bitbucket_config/defaults/main.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
|
||||
atl_enable_clustering: true
|
||||
atl_external_elasticsearch: true
|
||||
@@ -4,6 +4,7 @@ jdbc.url={{ atl_jdbc_url }}
|
||||
jdbc.user={{ atl_jdbc_user }}
|
||||
jdbc.password={{ atl_jdbc_password }}
|
||||
|
||||
{% if atl_enable_clustering %}
|
||||
hazelcast.network.aws=true
|
||||
hazelcast.network.aws.tag.key=Cluster
|
||||
hazelcast.network.multicast=false
|
||||
@@ -12,15 +13,26 @@ hazelcast.network.aws.region={{ atl_aws_region }}
|
||||
hazelcast.network.aws.tag.value={{ atl_aws_stack_name }}
|
||||
hazelcast.group.name={{ atl_aws_stack_name }}
|
||||
hazelcast.group.password={{ atl_aws_stack_name }}
|
||||
{% endif %}
|
||||
|
||||
{% if atl_external_elasticsearch %}
|
||||
plugin.search.elasticsearch.aws.region={{ atl_aws_region }}
|
||||
plugin.search.elasticsearch.baseurl={{ atl_elasticsearch_endpoint }}
|
||||
{% endif %}
|
||||
|
||||
setup.displayName=Bitbucket
|
||||
{% if atl_bitbucket_baseurl is defined %}
|
||||
setup.baseUrl = {{ atl_bitbucket_baseurl }}
|
||||
{% endif %}
|
||||
{% if atl_bitbucket_license_key is defined %}
|
||||
setup.license={{ atl_bitbucket_license_key }}
|
||||
{% endif %}
|
||||
{% if atl_bitbucket_admin_password is defined %}
|
||||
setup.sysadmin.username=admin
|
||||
setup.sysadmin.password={{ atl_bitbucket_admin_password }}
|
||||
setup.sysadmin.displayName=AdminIstrator
|
||||
setup.sysadmin.displayName=Administrator
|
||||
setup.sysadmin.emailAddress=admin@yourcompany.com
|
||||
{% endif %}
|
||||
|
||||
server.proxy-name={{ atl_proxy_name }}
|
||||
server.secure={{ atl_ssl_proxy }}
|
||||
@@ -33,4 +45,3 @@ server.additional-connector.1.port=7991
|
||||
server.scheme=http
|
||||
server.proxy-port=80
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user