File tree Expand file tree Collapse file tree 5 files changed +0
-35
lines changed Expand file tree Collapse file tree 5 files changed +0
-35
lines changed Original file line number Diff line number Diff line change 2828 kibana_extra_config : |-
2929 ops.interval: 5000
3030 tasks :
31- - name : Enable Elastic installation on RHEL 9
32- ansible.builtin.set_fact :
33- elasticstack_rpm_workaround : true
34- when : ansible_os_family == 'RedHat' and ansible_distribution_major_version >= "9"
3531 - name : Include Redis
3632 ansible.builtin.include_role :
3733 name : geerlingguy.redis
Original file line number Diff line number Diff line change 44 collections :
55 - netways.elasticstack
66 vars :
7- elasticstack_rpm_workaround : true
87 elasticstack_collection_managed : false
98 elasticstack_release : " {{ lookup('env', 'ELASTIC_RELEASE') | int}}"
109 elasticstack_no_log : false
Original file line number Diff line number Diff line change 77 - netways.elasticstack
88 vars :
99 elasticstack_variant : oss
10- elasticstack_rpm_workaround : true
1110 elasticstack_release : 7
1211 elasticstack_no_log : false
1312 tasks :
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ elasticstack_kibana_port: 5601
2020elasticstack_override_beats_tls : false
2121elasticstack_release : 8
2222elasticstack_repo_key : https://artifacts.elastic.co/GPG-KEY-elasticsearch
23- elasticstack_rpm_workaround : false
2423elasticstack_security : true
2524elasticstack_variant : elastic
2625elasticstack_force_pip : false
Original file line number Diff line number Diff line change 11---
2- # See https://github.com/elastic/elasticsearch/issues/85876
3- # for more information why this is needed
4- - name : Workaround for EL > 8
5- when :
6- - ansible_distribution_major_version >= "9"
7- block :
8-
9- - name : Show a warning
10- ansible.builtin.debug :
11- msg : " For this workaround to work, please set elasticstack_rpm_workaround to true"
12- when :
13- - not elasticstack_rpm_workaround | bool
14-
15- - name : Enable workaround for rpm keys
16- when :
17- - elasticstack_rpm_workaround | bool
18- block :
19-
20- - name : Install crypto-policies-scripts
21- ansible.builtin.package :
22- name : crypto-policies-scripts
23-
24- # since we don't expect to have that workaround for long
25- # we can skip having idempotency checks fixed
26- - name : Set Crypto policies to legacy
27- ansible.builtin.command : " update-crypto-policies --set LEGACY"
28- changed_when : false
29-
302- name : Ensure Elastic repository key is available (RedHat)
313 ansible.builtin.rpm_key :
324 key : " {{ elasticstack_repo_key }}"
You can’t perform that action at this time.
0 commit comments