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

This commit is contained in:
Brett Meehan
2020-01-12 21:41:09 +11:00
parent 98f77fc591
commit 9b1154f6e0
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