mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-386: Add Bitbucket config role.
This commit is contained in:
6
roles/bitbucket_config/tasks/main.yml
Normal file
6
roles/bitbucket_config/tasks/main.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
|
||||
- name: Create Bitbucket config file
|
||||
template:
|
||||
src: bitbucket.properties.j2
|
||||
dest: "{{ atl_product_home_shared }}/bitbucket.properties"
|
||||
27
roles/bitbucket_config/templates/bitbucket.properties.j2
Normal file
27
roles/bitbucket_config/templates/bitbucket.properties.j2
Normal file
@@ -0,0 +1,27 @@
|
||||
# Created by Ansible
|
||||
jdbc.driver={{ atl_db_driver }}
|
||||
jdbc.url={{ atl_jdbc_url }}
|
||||
jdbc.user={{ atl_jdbc_user }}
|
||||
jdbc.password={{ atl_jdbc_password }}
|
||||
|
||||
hazelcast.network.aws=true
|
||||
hazelcast.network.aws.tag.key=Cluster
|
||||
hazelcast.network.multicast=false
|
||||
hazelcast.network.aws.iam.role={{ atl_aws_iam_role }}
|
||||
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 }}
|
||||
plugin.search.elasticsearch.aws.region={{ atl_aws_region }}
|
||||
plugin.search.elasticsearch.baseurl={{ atl_elasticsearch_endpoint }}
|
||||
|
||||
server.proxy-name={{ atl_proxy_name }}
|
||||
server.proxy-port={{ atl_proxy_port }}
|
||||
server.secure={{ atl_ssl_proxy }}
|
||||
server.require-ssl={{ atl_ssl_proxy }}
|
||||
{% if atl_ssl_proxy == 'true' %}
|
||||
server.scheme=https
|
||||
server.additional-connector.1.port=7991
|
||||
{% else %}
|
||||
server.scheme=http
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user