Merged in bugfix/ITOPSENG-372-fix-base_url-for-clones (pull request #69)

ITOPSENG-372 fix baseurl logic for when db_created does not exist

Approved-by: Ben Partridge <bpartridge@atlassian.com>
Approved-by: Varun Arbatti <varbatti@atlassian.com>
This commit is contained in:
Brett Meehan
2020-01-12 23:19:55 +00:00
3 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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