mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
ITOPSENG-372 fix baseurl logic for when db_created does not exist
This commit is contained in:
@@ -112,5 +112,5 @@
|
|||||||
when:
|
when:
|
||||||
- atl_proxy_name is defined
|
- atl_proxy_name is defined
|
||||||
- atl_tomcat_scheme is defined
|
- atl_tomcat_scheme is defined
|
||||||
- not db_created.changed
|
- db_created is undefined or not db_created.changed
|
||||||
ignore_errors: yes # For Molecule as it has no db test framework included
|
ignore_errors: yes # For Molecule as it has no db test framework included
|
||||||
|
|||||||
@@ -105,7 +105,7 @@
|
|||||||
when:
|
when:
|
||||||
- atl_proxy_name is defined
|
- atl_proxy_name is defined
|
||||||
- atl_tomcat_scheme is defined
|
- atl_tomcat_scheme is defined
|
||||||
- not db_created.changed
|
- db_created is undefined or not db_created.changed
|
||||||
ignore_errors: yes # For Molecule as it has no db test framework included
|
ignore_errors: yes # For Molecule as it has no db test framework included
|
||||||
|
|
||||||
- name: Check that crowd.cfg.xml exists
|
- name: Check that crowd.cfg.xml exists
|
||||||
@@ -125,4 +125,4 @@
|
|||||||
path: "{{ atl_product_home_shared }}/crowd.cfg.xml"
|
path: "{{ atl_product_home_shared }}/crowd.cfg.xml"
|
||||||
xpath: "/application-configuration/properties/property[@name='hibernate.connection.url']"
|
xpath: "/application-configuration/properties/property[@name='hibernate.connection.url']"
|
||||||
value: "{{ atl_jdbc_url }}?reWriteBatchedInserts=true"
|
value: "{{ atl_jdbc_url }}?reWriteBatchedInserts=true"
|
||||||
when: crowd_cfg_stat_result.stat.exists
|
when: crowd_cfg_stat_result.stat.exists
|
||||||
|
|||||||
@@ -102,5 +102,5 @@
|
|||||||
when:
|
when:
|
||||||
- atl_proxy_name is defined
|
- atl_proxy_name is defined
|
||||||
- atl_tomcat_scheme is defined
|
- atl_tomcat_scheme is defined
|
||||||
- not db_created.changed
|
- db_created is undefined or not db_created.changed
|
||||||
ignore_errors: yes # For Molecule as it has no db test framework included
|
ignore_errors: yes # For Molecule as it has no db test framework included
|
||||||
|
|||||||
Reference in New Issue
Block a user