Support many php versions (php7) + drop wheezy support

This commit is contained in:
Emilien Mantel
2016-08-09 16:02:09 +02:00
parent af3930a58a
commit e4b5bb2a32
15 changed files with 83 additions and 18 deletions

View File

@@ -1,6 +1,5 @@
---
- name: INCLUDE_VARS | Related to OS
include_vars: "{{ ansible_distribution }}.yml"

View File

@@ -4,7 +4,7 @@
template: >
src=etc/nginx/upstream/php.conf.j2
dest="{{ nginx_etc_dir }}/conf.d/php.conf"
when: nginx_php
when: nginx_php5 or nginx_php7
notify: reload nginx
- name: TEMPLATE | Deploy other upstreams