mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-11 12:52:10 +07:00
Install modules OK
This commit is contained in:
@@ -29,10 +29,9 @@
|
||||
|
||||
- name: APT | Install nginx modules
|
||||
apt:
|
||||
pkg: "libnginx-mod-{{ item | replace('_', '-') }}"
|
||||
pkg: "{{ item }}"
|
||||
state: present
|
||||
with_items: "{{ nginx_dyn_modules }}"
|
||||
when: ansible_distribution == 'Debian'
|
||||
with_items: "{{ nginx_module_packages }}"
|
||||
|
||||
- name: APT | Install python-passlib
|
||||
apt:
|
||||
|
||||
@@ -12,10 +12,6 @@
|
||||
include: prepare.yml
|
||||
tags: ['nginx::site', 'nginx::ssl']
|
||||
|
||||
- name: INCLUDE | Manage dynamic modules
|
||||
include: dyn_modules.yml
|
||||
when: nginx_version.stdout | version_compare('1.9.11', 'ge')
|
||||
|
||||
- name: INCLUDE | Install
|
||||
include: config.yml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user