File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 9
9
10
10
- name : (AlmaLinux/Oracle Linux/RHEL) Install GeoIP2 and/or OpenTracing EPEL dependencies
11
11
when :
12
- - ansible_facts['distribution'] == "AlmaLinux"
13
- or ansible_facts['distribution'] == "OracleLinux"
14
- or ansible_facts['distribution'] == "RedHat"
12
+ - ansible_facts['os_family'] == "RedHat"
15
13
- (ansible_facts['distribution_major_version'] == 7 and '"geoip2" in nginx_modules')
16
14
or '"opentracing" in nginx_modules'
17
15
- nginx_install_epel_release | bool
25
23
ansible.builtin.yum :
26
24
name : https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_facts['distribution_major_version'] }}.noarch.rpm
27
25
26
+ - name : (Alpine Linux) Install Lua and Encrypted Sessions Alpine Linux 3.17 dependencies
27
+ when :
28
+ - ansible_facts['os_family'] == "Alpine"
29
+ - ansible_facts['distribution_version'] | regex_search('^[0-9]+\\.[0-9]+') is version('3.17', '==')
30
+ - ('"lua" in nginx_modules') or ('"encrypted-sessions" in nginx_modules')
31
+ tasks :
32
+ community.general.apk :
33
+ name : nginx-plus-module-ndk
34
+
28
35
- name : Setup NGINX modules
29
36
ansible.builtin.package :
30
37
name : " nginx-{{ (nginx_type == 'plus') | ternary('plus-', '') }}module-{{ item.name | default(item) }}\
You can’t perform that action at this time.
0 commit comments