Fix module install task (#89)

* Fix module install task

* Fix perl module
This commit is contained in:
Alessandro Fael Garcia 2019-01-21 12:34:44 +01:00 committed by GitHub
parent 1d3b03ea2b
commit 6693791de2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

@ -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"

View File

@ -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"