Better PHP and vhost management

This commit is contained in:
Emilien Mantel
2015-07-16 11:44:54 +02:00
parent 57882393b8
commit 5d084416e1
3 changed files with 12 additions and 13 deletions

View File

@@ -8,6 +8,8 @@
- lineinfile: dest=/etc/hosts line="127.0.2.2 {{ nginx_vhosts|map(attribute='name')| join(' ') }}"
vars:
nginx_php: true
nginx_php_unix_sockets:
- unix_socket: "/var/run/php5-fpm.sock"
nginx_vhosts:
- name: 'test.local'
aliases: