New feature: install nginx from backports

This commit is contained in:
Emilien Mantel
2016-01-11 15:16:24 +01:00
parent d463b690ec
commit f64e1f1106
4 changed files with 14 additions and 5 deletions

View File

@@ -2,6 +2,7 @@
- hosts: all
pre_tasks:
- apt_repository: repo='deb http://httpredir.debian.org/debian {{ ansible_distribution_release }}-backports main' state=present
- apt: pkg={{ item }} update_cache=yes cache_valid_time=3600 state=present
with_items:
- php5-fpm
@@ -10,6 +11,7 @@
- service: name=fcgiwrap state=started
- pause: seconds=5
vars:
nginx_backports: true
nginx_php: true
nginx_upstreams:
- name: 'test'