2018-01-19 19:27:47 +01:00
|
|
|
---
|
2018-04-12 19:20:39 +02:00
|
|
|
- name: "(Install: All OSs) Install NGINX Open Source Perl Module"
|
2018-01-19 19:27:47 +01:00
|
|
|
package:
|
|
|
|
name: nginx-module-perl
|
|
|
|
state: present
|
2018-09-15 01:28:20 +02:00
|
|
|
when: nginx_type == "opensource"
|
2018-01-19 19:27:47 +01:00
|
|
|
|
2018-02-09 21:00:58 +01:00
|
|
|
- name: "(Install: All OSs) Install NGINX Plus Perl Module"
|
2018-01-19 19:27:47 +01:00
|
|
|
package:
|
|
|
|
name: nginx-plus-module-perl
|
|
|
|
state: present
|
2018-09-15 01:28:20 +02:00
|
|
|
when: nginx_type == "plus"
|
2018-01-19 19:27:47 +01:00
|
|
|
|
2018-01-26 20:00:26 +01:00
|
|
|
- name: "(Setup: All NGINX) Load NGINX Perl Module"
|
2018-01-19 19:27:47 +01:00
|
|
|
lineinfile:
|
|
|
|
path: /etc/nginx/nginx.conf
|
|
|
|
insertbefore: BOF
|
2019-01-21 12:34:44 +01:00
|
|
|
line: load_module modules/ngx_http_perl_module.so;
|
2019-08-03 12:53:21 +02:00
|
|
|
when: not nginx_main_template_enable
|
2018-01-26 20:00:26 +01:00
|
|
|
notify: "(Handler: All OSs) Reload NGINX"
|