diff --git a/roles/jira_config/tasks/main.yml b/roles/jira_config/tasks/main.yml index 69f6a03..b438b45 100644 --- a/roles/jira_config/tasks/main.yml +++ b/roles/jira_config/tasks/main.yml @@ -44,11 +44,10 @@ with_items: - "search.platform=opensearch" - "opensearch.http.url={{ atl_opensearch_endpoint }}" - - "opensearch.aws.region={{ atl_aws_region | default(ansible_ec2_placement_region) }}" - - "jira.search.api.reindex.bulk.request.size=10" + - "opensearch.aws.region={{ ansible_ec2_placement_region }}" when: - atl_opensearch_endpoint is defined and atl_opensearch_endpoint | length > 0 - - (atl_aws_region is defined or ansible_ec2_placement_region is defined) + - ansible_ec2_placement_region is defined - name: Override JVM memory settings. # Ugly but necessary as the product installs this file so we need to make the change here.