Dynamic modules starts at version 1.9.11

pull/27/head
Emilien Mantel 2016-10-12 18:16:53 +02:00
parent 42bb4a3e2b
commit 41a5575627
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
- name: INCLUDE | Manage dynamic modules - name: INCLUDE | Manage dynamic modules
include: dyn_modules.yml include: dyn_modules.yml
when: nginx_version.stdout | version_compare('1.9.1', 'ge') when: nginx_version.stdout | version_compare('1.9.11', 'ge')
- name: INCLUDE | Install - name: INCLUDE | Install
include: config.yml include: config.yml

View File

@ -5,7 +5,7 @@
user {{ nginx_user }}; user {{ nginx_user }};
worker_processes {{ nginx_worker_processes }}; worker_processes {{ nginx_worker_processes }};
pid {{ nginx_pid }}; pid {{ nginx_pid }};
{% if nginx_version.stdout | version_compare('1.9.1', 'ge') %} {% if nginx_version.stdout | version_compare('1.9.11', 'ge') %}
{% for module in nginx_dyn_modules -%} {% for module in nginx_dyn_modules -%}
load_module "modules/ngx_{{ module }}_module.so"; load_module "modules/ngx_{{ module }}_module.so";
{% endfor %} {% endfor %}