mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
ITPLT-3356 add OS user and pass if provided and exclude region if OS pass provided
This commit is contained in:
@@ -20,6 +20,8 @@ atl_hazelcast_network_aws_iam_role: "{{ lookup('env', 'ATL_HAZELCAST_NETWORK_AWS
|
|||||||
atl_hazelcast_network_aws_tag_value: "{{ lookup('env', 'ATL_HAZELCAST_NETWORK_AWS_TAG_VALUE') }}"
|
atl_hazelcast_network_aws_tag_value: "{{ lookup('env', 'ATL_HAZELCAST_NETWORK_AWS_TAG_VALUE') }}"
|
||||||
|
|
||||||
atl_opensearch_endpoint: "{{ lookup('env', 'ATL_OPENSEARCH_ENDPOINT') }}"
|
atl_opensearch_endpoint: "{{ lookup('env', 'ATL_OPENSEARCH_ENDPOINT') }}"
|
||||||
|
atl_opensearch_password: "{{ lookup('env', 'ATL_OPENSEARCH_PASSWORD') }}"
|
||||||
|
atl_opensearch_user: "{{ lookup('env', 'ATL_OPENSEARCH_USER') }}"
|
||||||
|
|
||||||
atl_catalina_opts: ""
|
atl_catalina_opts: ""
|
||||||
atl_catalina_opts_extra: >-
|
atl_catalina_opts_extra: >-
|
||||||
|
|||||||
@@ -59,9 +59,15 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{# config specific to opensearch #}
|
{# config specific to opensearch #}
|
||||||
{% if atl_opensearch_endpoint is defined and atl_opensearch_endpoint != '' %}
|
{% if atl_opensearch_endpoint is defined and atl_opensearch_endpoint != '' %}
|
||||||
|
{% if atl_opensearch_password is defined and atl_opensearch_endpoint = '' %}
|
||||||
<property name="opensearch.aws.region">{{ atl_hazelcast_network_aws_iam_region }}</property>
|
<property name="opensearch.aws.region">{{ atl_hazelcast_network_aws_iam_region }}</property>
|
||||||
<property name="opensearch.http.url">{{ atl_opensearch_endpoint }}</property>
|
{% else %}
|
||||||
|
<property name="opensearch.password">{{ atl_opensearch_password }}</property>
|
||||||
|
<property name="opensearch.user">{{ atl_opensearch_user }}</property>
|
||||||
|
{% endif %}
|
||||||
|
<property name="opensearch.http.url">https://{{ atl_opensearch_endpoint }}</property>
|
||||||
<property name="search.platform">opensearch</property>
|
<property name="search.platform">opensearch</property>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
</properties>
|
</properties>
|
||||||
</confluence-configuration>
|
</confluence-configuration>
|
||||||
Reference in New Issue
Block a user