Skip to content

Commit 335f871

Browse files
committed
move ES version to version vars (so can be overridden in a version specific way)
1 parent 211eaae commit 335f871

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

playbooks/acs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
gather_facts: false
124124
roles:
125125
- role: "../roles/elasticsearch"
126-
elasticsearch_major_version: "{{ '8.x' if acs_play_repository_acs_version is version('25.0', 'ge') else '7.x' }}"
126+
elasticsearch_major_version: "{{ acs_play_elasticsearch_major_version }}"
127127
when: acs_is_enterprise and not groups.external_elasticsearch | default([])
128128
tags:
129129
- elasticsearch
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
acs_play_elasticsearch_major_version: 7.x

0 commit comments

Comments
 (0)