mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 17:03:06 -06:00
Merged in ITOPSENG-258-add-custom-node-names-to-cr (pull request #37)
ITOPSENG-258 add custom node names to cr Approved-by: Adam Brokes <abrokes@atlassian.com>
This commit is contained in:
@@ -27,7 +27,13 @@
|
|||||||
insertafter: "EOF"
|
insertafter: "EOF"
|
||||||
line: 'export CATALINA_OPTS="${CATALINA_OPTS} {{ atl_catalina_opts }} {{ atl_catalina_opts_extra }}"'
|
line: 'export CATALINA_OPTS="${CATALINA_OPTS} {{ atl_catalina_opts }} {{ atl_catalina_opts_extra }}"'
|
||||||
|
|
||||||
- name: Set JAVA_HOME #FIXME
|
- name: Set the Crowd node name via CATALINA_OPTS
|
||||||
|
lineinfile:
|
||||||
|
path: "{{ atl_product_installation_versioned }}/apache-tomcat/bin/setenv.sh"
|
||||||
|
insertafter: "EOF"
|
||||||
|
line: export CATALINA_OPTS="${CATALINA_OPTS} -Dcluster.node.name={{ ansible_ec2_instance_id }}-{{ ansible_ec2_local_ipv4 }}"
|
||||||
|
|
||||||
|
- name: Set JAVA_HOME
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: "{{ atl_product_installation_versioned }}/apache-tomcat/bin/setenv.sh"
|
path: "{{ atl_product_installation_versioned }}/apache-tomcat/bin/setenv.sh"
|
||||||
insertafter: "EOF"
|
insertafter: "EOF"
|
||||||
|
|||||||
Reference in New Issue
Block a user