This commit is contained in:
Azra Sulthana
2019-07-11 05:45:24 +00:00
parent 088239cba8
commit 8fbf76ab3e
6 changed files with 11 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<jira-database-config>
<crowd-database-config>
<name>defaultDS</name>
<delegator-name>default</delegator-name>
<database-type>postgres72</database-type>
@@ -25,4 +25,4 @@
<pool-test-while-idle>{{ atl_db_testwhileidle }}</pool-test-while-idle>
<pool-test-on-borrow>{{ atl_db_testonborrow }}</pool-test-on-borrow>
</jdbc-datasource>
</jira-database-config>
</crowd-database-config>

View File

@@ -5,7 +5,7 @@
<Connector acceptCount="{{ atl_tomcat_acceptcount }}" connectionTimeout="{{ atl_tomcat_connectiontimeout }}" disableUploadTimeout="true" enableLookups="{{ atl_tomcat_enablelookups }}" maxHttpHeaderSize="8192" maxThreads="{{ atl_tomcat_maxthreads }}" minSpareThreads="{{ atl_tomcat_minsparethreads }}" port="{{ atl_tomcat_port }}" redirectPort="{{ atl_tomcat_redirectport }}" useBodyEncodingForURI="true" URIEncoding="UTF-8" compression="on" sendReasonPhrase="true" compressableMimeType="text/html,text/xml,application/xml,text/plain,text/css,application/json,application/javascript,application/x-javascript" secure="{{ atl_tomcat_secure }}" scheme="{{ atl_tomcat_scheme }}" proxyName="{{ atl_proxy_name }}" proxyPort="{{ atl_proxy_port }}" protocol="{{ atl_tomcat_protocol }}"></Connector>
<Engine defaultHost="localhost" name="Catalina">
<Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true"><Context path="{{ atl_tomcat_contextpath }}" docBase="${catalina.home}/atlassian-crowd" debug="0"><Manager pathname=""></Manager></Context></Host>
<Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true"><Context path="{{ atl_tomcat_contextpath }}" docBase="../../crowd-webapp" debug="0"><Manager pathname=""></Manager></Context></Host>
</Engine>
<!-- To connect to an external web server (typically Apache) -->

View File

@@ -1,3 +1,5 @@
---
- name: Check for existing version cache file
stat:
path: "{{ atl_product_version_cache }}"
@@ -95,14 +97,8 @@
set_fact:
atl_product_version: "{{ atl_download_version }}"
#- set_fact:
# atl_product_version: '3.4.4'
######################################################################
#- debug:
# msg: "{{ atl_product_edition }}_extra_tasks.yml"
- name: Perform any additional per-edition version setup
include_tasks: "{{ atl_product_edition }}_extra_tasks.yml"
when: atl_product_edition!= "crowd"
@@ -123,9 +119,6 @@
- "{{ atl_product_version_cache_dir }}"
changed_when: false # For Molecule idempotence check
- debug:
msg: "atl_installer_temp - {{atl_installer_temp}} atl_product_home - {{atl_product_home}} atl_product_installation_versioned- {{atl_product_installation_versioned}} atl_product_version_cache_dir- {{atl_product_version_cache_dir}}"
# At this point atl_product_version should be set, cache if necessary.
- name: Write override cached version when specified
template:

View File

@@ -1,6 +1,6 @@
launch.application$Boolean=false
rmiPort$Long={{ atl_tomcat_mgmt_port | default('8020') }}
app.jiraHome={{ atl_product_home }}
app.crowdHome={{ atl_product_home }}
app.install.service$Boolean=false
app.service.account={{ atl_product_user }}
existingInstallationDir={{ atl_product_installation_versioned }}

View File

@@ -4,7 +4,9 @@
template:
src: "product.service.j2"
dest: "/etc/systemd/system/{{ atl_systemd_service_name }}"
<<<<<<< HEAD
owner: root
group: root
mode: 0640
when: atl_product_edition != "crowd"
notify:
- Enable Product
@@ -14,12 +16,10 @@
template:
src: "crowd.service.j2"
dest: "/etc/systemd/system/{{ atl_systemd_service_name }}"
when: atl_product_edition == "crowd"
=======
owner: root
group: root
mode: 0640
>>>>>>> origin/master
when: atl_product_edition == "crowd"
notify:
- Enable Product
- Restart Product