Issue239 - fix nginx_version in module install (#240)
This commit is contained in:
parent
2289b6a070
commit
301416a9c9
@ -17,7 +17,9 @@ nginx_type: opensource
|
||||
|
||||
# Specify which version of NGINX you want to install.
|
||||
# Default is empty.
|
||||
# nginx_version: =19-1~bionic
|
||||
# nginx_version: "=19-1~bionic"
|
||||
# For Plus and modules you'll need a wilcard like below (which installs plus-20 and modules)
|
||||
# nginx_version: "-20*"
|
||||
|
||||
# Specify whether you want to maintain your version of NGINX, upgrade to the latest version, or remove NGINX.
|
||||
# Can be used with `nginx_version` to achieve fine tune control on which version of NGINX is installed/used on each playbook execution.
|
||||
|
@ -7,13 +7,13 @@
|
||||
|
||||
- name: "(Install: All OSs) Install NGINX Open Source GeoIP Module"
|
||||
package:
|
||||
name: nginx-module-geoip
|
||||
name: "nginx-module-geoip{{ nginx_version | default('') }}"
|
||||
state: present
|
||||
when: nginx_type == "opensource"
|
||||
|
||||
- name: "(Install: All OSs) Install NGINX Plus GeoIP Module"
|
||||
package:
|
||||
name: nginx-plus-module-geoip
|
||||
name: "nginx-plus-module-geoip{{ nginx_version | default('') }}"
|
||||
state: present
|
||||
when: nginx_type == "plus"
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
---
|
||||
- name: "(Install: All OSs) Install NGINX Open Source Image Filter Module"
|
||||
package:
|
||||
name: nginx-module-image-filter
|
||||
name: "nginx-module-image-filter{{ nginx_version | default('') }}"
|
||||
state: present
|
||||
when: nginx_type == "opensource"
|
||||
|
||||
- name: "(Install: All OSs) Install NGINX Plus Image Filter Module"
|
||||
package:
|
||||
name: nginx-plus-module-image-filter
|
||||
name: "nginx-plus-module-image-filter{{ nginx_version | default('') }}"
|
||||
state: present
|
||||
when: nginx_type == "plus"
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
---
|
||||
- name: "(Install: All OSs) Install NGINX Open Source JavaScript Module"
|
||||
package:
|
||||
name: nginx-module-njs
|
||||
name: "nginx-module-njs{{ nginx_version | default('') }}"
|
||||
state: present
|
||||
when: nginx_type == "opensource"
|
||||
|
||||
- name: "(Install: All OSs) Install NGINX Plus JavaScript Module"
|
||||
package:
|
||||
name: nginx-plus-module-njs
|
||||
name: "nginx-plus-module-njs{{ nginx_version | default('') }}"
|
||||
state: present
|
||||
when: nginx_type == "plus"
|
||||
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
- name: "(Install: All OSs) Install NGINX Open Source Perl Module"
|
||||
package:
|
||||
name: nginx-module-perl
|
||||
name: "nginx-module-perl{{ nginx_version | default('') }}"
|
||||
state: present
|
||||
when: nginx_type == "opensource"
|
||||
|
||||
- name: "(Install: All OSs) Install NGINX Plus Perl Module"
|
||||
package:
|
||||
name: nginx-plus-module-perl
|
||||
name: "nginx-plus-module-perl{{ nginx_version | default('') }}"
|
||||
state: present
|
||||
when: nginx_type == "plus"
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: "(Install: All OSs) Install NGINX Plus RTMP Module"
|
||||
package:
|
||||
name: nginx-plus-module-rtmp
|
||||
name: "nginx-plus-module-rtmp{{ nginx_version | default('') }}"
|
||||
state: present
|
||||
|
||||
- name: "(Setup: All NGINX) Load NGINX RTMP Module"
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: "(Install: All OSs) Install NGINX Plus WAF Module"
|
||||
package:
|
||||
name: nginx-plus-module-modsecurity
|
||||
name: "nginx-plus-module-modsecurity{{ nginx_version | default('') }}"
|
||||
state: present
|
||||
|
||||
- name: "(Setup: NGINX Plus) Load NGINX Plus WAF Module"
|
||||
|
@ -1,13 +1,13 @@
|
||||
---
|
||||
- name: "(Install: All OSs) Install NGINX Open Source XSLT Module"
|
||||
package:
|
||||
name: nginx-module-xslt
|
||||
name: "nginx-module-xslt{{ nginx_version | default('') }}"
|
||||
state: present
|
||||
when: nginx_type == "opensource"
|
||||
|
||||
- name: "(Install: All OSs) Install NGINX Plus XSLT Module"
|
||||
package:
|
||||
name: nginx-plus-module-xslt
|
||||
name: "nginx-plus-module-xslt{{ nginx_version | default('') }}"
|
||||
state: present
|
||||
when: nginx_type == "plus"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user