mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
DCD-621: Uses ATL_DB_ENGINE paramerter to infer database type. If db_engine is 'aurora_postgres', then use aurrora postgres db type. Else use default postgres db_type
This commit is contained in:
@@ -65,6 +65,7 @@ atl_db_removeabandoned: "{{ lookup('env', 'ATL_DB_REMOVEABANDONED') or 'true' }}
|
||||
atl_db_removeabandonedtimeout: "{{ lookup('env', 'ATL_DB_REMOVEABANDONEDTIMEOUT') or '300' }}"
|
||||
atl_db_testwhileidle: "{{ lookup('env', 'ATL_DB_TESTWHILEIDLE') or 'true'}}"
|
||||
atl_db_testonborrow: "{{ lookup('env', 'ATL_DB_TESTONBORROW') or 'false' }}"
|
||||
atl_db_type: "{{ 'postgresaurora96' if atl_db_engine == 'aurora_postgres' else 'postgres72'}}"
|
||||
|
||||
atl_jdbc_db_name: "{{ lookup('env', 'ATL_JDBC_DB_NAME') }}"
|
||||
atl_jdbc_user: "{{ lookup('env', 'ATL_JDBC_USER') }}"
|
||||
|
||||
Reference in New Issue
Block a user