|
130 | 130 | url: "https://ftp.pcre.org/pub/pcre/{{ pcre_version }}.tar.gz" |
131 | 131 | dest: "/tmp/{{ pcre_version }}.tar.gz" |
132 | 132 | mode: 0600 |
133 | | - validate_certs: >- |
134 | | - {{ (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] is version('6', '==')) | ternary('no', 'yes') }} |
| 133 | + validate_certs: "{{ (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] is version('6', '==')) |
| 134 | + | ternary('no', 'yes') }}" |
135 | 135 | register: pcre_source |
136 | 136 |
|
137 | 137 | - name: "Unpack PCRE dependency" |
|
189 | 189 | url: "https://zlib.net/{{ zlib_version }}.tar.gz" |
190 | 190 | dest: "/tmp/{{ zlib_version }}.tar.gz" |
191 | 191 | mode: 0600 |
192 | | - validate_certs: >- |
193 | | - {{ (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] is version('6', '==')) | ternary('no', 'yes') }} |
| 192 | + validate_certs: "{{ (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] is version('6', '==')) |
| 193 | + | ternary('no', 'yes') }}" |
194 | 194 | register: zlib_source |
195 | 195 |
|
196 | 196 | - name: "Unpack ZLib dependency" |
|
248 | 248 | url: "https://www.openssl.org/source/{{ openssl_version }}.tar.gz" |
249 | 249 | dest: "/tmp/{{ openssl_version }}.tar.gz" |
250 | 250 | mode: 0600 |
251 | | - validate_certs: >- |
252 | | - {{ (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] is version('6', '==')) | ternary('no', 'yes') }} |
| 251 | + validate_certs: "{{ (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] is version('6', '==')) |
| 252 | + | ternary('no', 'yes') }}" |
253 | 253 | register: openssl_source |
254 | 254 |
|
255 | 255 | - name: "Unpack OpenSSL dependency" |
|
282 | 282 | uri: |
283 | 283 | url: https://trac.nginx.org/nginx/browser |
284 | 284 | return_content: yes |
285 | | - validate_certs: >- |
286 | | - {{ (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] is version('6', '==')) | ternary('no', 'yes') }} |
| 285 | + validate_certs: "{{ (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] is version('6', '==')) |
| 286 | + | ternary('no', 'yes') }}" |
287 | 287 | register: nginx_versions |
288 | 288 |
|
289 | 289 | - name: "Set NGINX mainline version" |
|
322 | 322 | url: "https://nginx.org/download/{{ nginx_download_name }}.tar.gz" |
323 | 323 | dest: "/tmp/{{ nginx_download_name }}.tar.gz" |
324 | 324 | mode: 0600 |
325 | | - validate_certs: >- |
326 | | - {{ (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] is version('6', '==')) | ternary('no', 'yes') }} |
| 325 | + validate_certs: "{{ (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] is version('6', '==')) |
| 326 | + | ternary('no', 'yes') }}" |
327 | 327 | register: nginx_source |
328 | 328 |
|
329 | 329 | - name: "Unpack NGINX" |
|
0 commit comments