|
46 | 46 | - nginx_type == 'plus'
|
47 | 47 | - ansible_facts['os_family'] == "Alpine"
|
48 | 48 | - ansible_facts['distribution_version'] | regex_search('^[0-9]+\\.[0-9]+') is version('3.17', '==')
|
49 |
| - - ('"lua" in nginx_modules') or ('"encrypted-sessions" in nginx_modules') |
| 49 | + - ('"encrypted-sessions" in nginx_modules') or ('"lua" in nginx_modules') or ('"set-misc" in nginx_modules') |
50 | 50 |
|
51 | 51 | - name: Setup NGINX modules
|
52 | 52 | ansible.builtin.package:
|
|
57 | 57 | when:
|
58 | 58 | - (item.name | default(item) in nginx_modules_list and nginx_type == 'opensource')
|
59 | 59 | or (item.name | default(item) in nginx_plus_modules_list and nginx_type == 'plus')
|
60 |
| - - not (item.name | default(item) == "auth-spnego") |
61 |
| - or not (ansible_facts['os_family'] == "Alpine" and (ansible_facts['distribution_version'] | regex_search('^[0-9]+\\.[0-9]+') is version('3.8', '=='))) |
62 | 60 | - not (item.name | default(item) == "brotli")
|
63 |
| - or not ((ansible_facts['os_family'] == "Alpine") |
64 |
| - or (ansible_facts['distribution'] == "Amazon") |
65 |
| - or (ansible_facts['os_family'] == "Debian" and ansible_facts['distribution_major_version'] is version('9', '==')) |
66 |
| - or (ansible_facts['distribution'] == "OracleLinux") |
67 |
| - or (ansible_facts['os_family'] == "RedHat" and ansible_facts['distribution_major_version'] is version('8', '<')) |
68 |
| - or (ansible_facts['os_family'] == "Suse" and ansible_facts['distribution_major_version'] is version('12', '<'))) |
| 61 | + or not (ansible_facts['os_family'] == "Suse" and ansible_facts['distribution_major_version'] is version('12', '==')) |
69 | 62 | - not (item.name | default(item) == "geoip")
|
70 | 63 | or not ((ansible_facts['os_family'] == "FreeBSD")
|
71 | 64 | or (ansible_facts['os_family'] == "RedHat" and ansible_facts['distribution_major_version'] is version('8', '>=')))
|
72 | 65 | - not (item.name | default(item) == "geoip2")
|
73 |
| - or not ((ansible_facts['distribution'] == 'Amazon') |
74 |
| - or (ansible_facts['os_family'] == "Suse")) |
| 66 | + or not (ansible_facts['os_family'] == "Suse") |
75 | 67 | - not (item.name | default(item) == "opentracing")
|
76 |
| - or not ((ansible_facts['distribution'] == 'Amazon') |
77 |
| - or (ansible_facts['os_family'] == "Suse" and ansible_facts['distribution_major_version'] is version('12', '=='))) |
| 68 | + or not (ansible_facts['os_family'] == "Suse" and ansible_facts['distribution_major_version'] is version('12', '==')) |
0 commit comments