Fix module install task (#89)
* Fix module install task * Fix perl module
This commit is contained in:
parent
1d3b03ea2b
commit
6693791de2
@ -1,21 +1,21 @@
|
|||||||
---
|
---
|
||||||
- import_tasks: install-njs.yml
|
- import_tasks: install-njs.yml
|
||||||
when: modules.njs | default(false)
|
when: nginx_modules.njs | default(false)
|
||||||
|
|
||||||
- import_tasks: install-perl.yml
|
- import_tasks: install-perl.yml
|
||||||
when: modules.perl | default(false)
|
when: nginx_modules.perl | default(false)
|
||||||
|
|
||||||
- import_tasks: install-geoip.yml
|
- import_tasks: install-geoip.yml
|
||||||
when: modules.geoip | default(false)
|
when: nginx_modules.geoip | default(false)
|
||||||
|
|
||||||
- import_tasks: install-image-filter.yml
|
- import_tasks: install-image-filter.yml
|
||||||
when: modules.image_filter | default(false)
|
when: nginx_modules.image_filter | default(false)
|
||||||
|
|
||||||
- import_tasks: install-rtmp.yml
|
- import_tasks: install-rtmp.yml
|
||||||
when: modules.rtmp | default(false)
|
when: nginx_modules.rtmp | default(false)
|
||||||
|
|
||||||
- import_tasks: install-xslt.yml
|
- import_tasks: install-xslt.yml
|
||||||
when: modules.xslt | default(false)
|
when: nginx_modules.xslt | default(false)
|
||||||
|
|
||||||
- import_tasks: install-waf.yml
|
- import_tasks: install-waf.yml
|
||||||
when: modules.waf | default(false) and nginx_type == "plus"
|
when: nginx_modules.waf | default(false) and nginx_type == "plus"
|
||||||
|
@ -15,5 +15,5 @@
|
|||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/nginx/nginx.conf
|
path: /etc/nginx/nginx.conf
|
||||||
insertbefore: BOF
|
insertbefore: BOF
|
||||||
line: load_module modules/ngx_http_perl.so;
|
line: load_module modules/ngx_http_perl_module.so;
|
||||||
notify: "(Handler: All OSs) Reload NGINX"
|
notify: "(Handler: All OSs) Reload NGINX"
|
||||||
|
Loading…
Reference in New Issue
Block a user