mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
Merged in feature/ITOPSENG-277-itops-required-changes-for-confluence (pull request #57)
Feature/ITOPSENG-277 itops required changes for confluence Approved-by: Ben Partridge <bpartridge@atlassian.com>
This commit is contained in:
@@ -70,7 +70,6 @@
|
||||
owner: "{{ atl_product_user }}"
|
||||
group: "{{ atl_product_user }}"
|
||||
|
||||
|
||||
- name: Limit permissions on the installation directory
|
||||
file:
|
||||
path: "{{ atl_product_installation_versioned }}"
|
||||
@@ -97,3 +96,20 @@
|
||||
- "{{ atl_product_installation_versioned }}/temp"
|
||||
- "{{ atl_product_installation_versioned }}/work"
|
||||
changed_when: false # For Molecule idempotence check
|
||||
|
||||
- name: Assert baseurl to same as atl_proxy_name
|
||||
postgresql_query:
|
||||
login_host: "{{ atl_db_host }}"
|
||||
login_user: "{{ atl_jdbc_user }}"
|
||||
login_password: "{{ atl_jdbc_password }}"
|
||||
db: "{{ atl_jdbc_db_name }}"
|
||||
query: >
|
||||
update bandana set bandanavalue=regexp_replace(bandanavalue, %s, %s)
|
||||
where bandanacontext = '_GLOBAL' and bandanakey = 'atlassian.confluence.settings';
|
||||
positional_args:
|
||||
- "<baseUrl>.*</baseUrl>"
|
||||
- "<baseUrl>{{ atl_tomcat_scheme }}://{{ atl_proxy_name }}</baseUrl>"
|
||||
when:
|
||||
- atl_proxy_name is defined
|
||||
- atl_tomcat_scheme is defined
|
||||
ignore_errors: yes # For Molecule as it has no db test framework included
|
||||
|
||||
Reference in New Issue
Block a user