mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
PHP works
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
---
|
||||
|
||||
- hosts: all
|
||||
pre_tasks:
|
||||
- apt: pkg=php5-fpm update_cache=yes cache_valid_time=3600 state=present
|
||||
vars:
|
||||
nginx_php: true
|
||||
nginx_vhosts:
|
||||
- name: 'test.local'
|
||||
template: 'static'
|
||||
ssl:
|
||||
use: false
|
||||
generatekey: false
|
||||
template: 'strong'
|
||||
- name: 'test-php.local'
|
||||
template: 'wordpress'
|
||||
ssl:
|
||||
use: false
|
||||
roles:
|
||||
- ../../
|
||||
|
||||
Reference in New Issue
Block a user