mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
50 lines
2.4 KiB
YAML
50 lines
2.4 KiB
YAML
---
|
|
|
|
# This file is the place for cross-role defaults for all products, and
|
|
# common parameters from the infrastructure-deployment phase of the
|
|
# build (e.g. CloudFormation). More specific vars should go in
|
|
# <role>/defaults/main.yml or in the various playbooks.
|
|
|
|
java_version: "1.8.0"
|
|
postgres_version: "9.6"
|
|
git_version: "2.14.4"
|
|
atl_shared_mountpoint: "/media/atl"
|
|
|
|
# FIXME: Some of these should be overridden from the environment?
|
|
atl_home_base: "/var/atlassian/application-data"
|
|
atl_product_home: "{{ atl_home_base }}/{{ atl_product_family }}"
|
|
atl_product_home_shared: "{{ atl_shared_mountpoint }}/{{ atl_product_family }}/shared"
|
|
|
|
atl_installation_base: "/opt/atlassian"
|
|
atl_product_installation_base: "{{ atl_installation_base }}/{{ atl_product_edition }}"
|
|
atl_product_installation_target: "{{ atl_installation_base }}/{{ atl_product_edition }}/current"
|
|
atl_installer_temp: "{{ atl_installation_base }}/tmp"
|
|
|
|
|
|
# The following are imports from the environment. These are generally
|
|
# set in /etc/atl by the CloudFormation template and sourced before
|
|
# Ansible is run. See bin/ansible-with-atl-env for a convenient wrapper
|
|
atl_efs_id: "{{ lookup('env', 'ATL_EFS_ID') }}"
|
|
|
|
atl_db_host: "{{ lookup('env', 'ATL_DB_HOST') }}"
|
|
atl_db_port: "{{ lookup('env', 'ATL_DB_PORT') or '5432' }}"
|
|
atl_db_root_user: "{{ lookup('env', 'ATL_DB_ROOT_USER') or 'postgres' }}"
|
|
atl_db_root_password: "{{ lookup('env', 'ATL_DB_ROOT_PASSWORD') }}"
|
|
atl_db_poolminsize: "{{ lookup('env', 'ATL_DB_POOLMINSIZE') or '20' }}"
|
|
atl_db_poolmaxsize: "{{ lookup('env', 'ATL_DB_POOLMAXSIZE') or '100' }}"
|
|
atl_db_minidle: "{{ lookup('env', 'ATL_DB_MINIDLE') or '10' }}"
|
|
atl_db_maxidle: "{{ lookup('env', 'ATL_DB_MAXIDLE') or '20' }}"
|
|
atl_db_driver: "{{ lookup('env', 'ATL_DB_DRIVER') or 'org.postgresql.Driver' }}"
|
|
|
|
atl_jdbc_db_name: "{{ lookup('env', 'ATL_JDBC_DB_NAME') }}"
|
|
atl_jdbc_user: "{{ lookup('env', 'ATL_JDBC_USER') }}"
|
|
atl_jdbc_password: "{{ lookup('env', 'ATL_JDBC_PASSWORD') }}"
|
|
atl_jdbc_encoding: "{{ lookup('env', 'ATL_JDBC_ENCODING') or 'UTF-8' }}"
|
|
atl_jdbc_collation: "{{ lookup('env', 'ATL_JDBC_COLLATION') or 'en_US' }}"
|
|
atl_jdbc_ctype: "{{ lookup('env', 'ATL_JDBC_CTYPE') or 'en_US' }}"
|
|
atl_jdbc_template: "{{ lookup('env', 'ATL_JDBC_TEMPLATE') or 'template1' }}"
|
|
atl_jdbc_url: "jdbc:postgresql://{{ atl_db_host }}:{{ atl_db_port }}/{{ atl_jdbc_db_name }}"
|
|
|
|
atl_jvm_heap: "{{ lookup('env', 'ATL_JVM_HEAP) }}"
|
|
atl_catalina_opts: "{{ lookup('env', 'ATL_CATALINA_OPTS) }}"
|