mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
made changes to file to allow automated setup of bitbucket
This commit is contained in:
4
roles/bitbucket_config/molecule/default/main.yml
Normal file
4
roles/bitbucket_config/molecule/default/main.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
|
||||
atl_bitbucket_license_key: "{{ lookup('env', 'ATL_BB_LICENSEKEY') }}"
|
||||
atl_bitbucket_admin_password: "{{ lookup('env', 'ATL_BB_ADMIN_PASSWORD') }}"
|
||||
@@ -15,11 +15,6 @@
|
||||
owner: "{{ atl_product_user }}"
|
||||
group: "{{ atl_product_user }}"
|
||||
|
||||
- name: Copy Bitbucket dataset from s3
|
||||
get_url:
|
||||
url: "{{ atl_bitbucket_dataset_url }}"
|
||||
dest: /media/atl/bitbucket/shared/data/migration/import/
|
||||
|
||||
- name: Remove write permissions from installation directory
|
||||
file:
|
||||
path: "{{ atl_product_installation_versioned }}"
|
||||
|
||||
@@ -18,9 +18,6 @@ plugin.search.elasticsearch.baseurl={{ atl_elasticsearch_endpoint }}
|
||||
server.proxy-name={{ atl_proxy_name }}
|
||||
server.secure={{ atl_ssl_proxy }}
|
||||
server.require-ssl={{ atl_ssl_proxy }}
|
||||
setup.license={{ atl_bitbucket_license_key }}
|
||||
setup.sysadmin.username=admin
|
||||
setup.sysadmin.password={{ atl_bitbucket_admin_password }}
|
||||
{% if atl_ssl_proxy == 'true' %}
|
||||
server.scheme=https
|
||||
server.proxy-port=443
|
||||
@@ -29,3 +26,6 @@ server.additional-connector.1.port=7991
|
||||
server.scheme=http
|
||||
server.proxy-port=80
|
||||
{% endif %}
|
||||
setup.license={{ atl_bitbucket_license_key }}
|
||||
setup.sysadmin.username=admin
|
||||
setup.sysadmin.password={{ atl_bitbucket_admin_password }}
|
||||
|
||||
Reference in New Issue
Block a user