Load module from {{nginx_dir}}/etc/modules-enabled

This commit is contained in:
Emilien Mantel
2017-03-13 09:51:06 +01:00
parent ae167d3317
commit 7892626fc0
3 changed files with 15 additions and 3 deletions

View File

@@ -13,4 +13,13 @@
with_items: "{{ nginx_dyn_modules }}"
when: ansible_distribution == 'Debian'
- name: FILE | Creates modules directories
file: >
path="{{ nginx_etc_dir}}/{{ item }}"
state=directory
mode=0755
owner=root
group=root
with_items: ['modules-available', 'modules-enabled']
# TODO: manage freebsd