2016-03-05 21:46:54 +07:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: SET_FACT | FreeBSD web user
|
|
|
|
set_fact:
|
2016-03-09 01:37:39 +07:00
|
|
|
nginx_pkgng_package: 'nginx-devel'
|
2016-03-05 21:46:54 +07:00
|
|
|
nginx_user: 'www'
|
2016-08-11 16:30:26 +07:00
|
|
|
nginx_php70: false
|
|
|
|
nginx_php56_sockets:
|
2016-03-05 23:26:05 +07:00
|
|
|
- host: '127.0.0.1'
|
|
|
|
port: 9000
|
|
|
|
|
|
|
|
- name: PKGNG | Install needed packages
|
|
|
|
pkgng: pkg={{ item }} state=present
|
|
|
|
with_items:
|
|
|
|
- php56
|
|
|
|
- curl
|
|
|
|
- fcgiwrap
|
2016-03-09 01:37:39 +07:00
|
|
|
- nghttp2
|
2016-03-05 23:26:05 +07:00
|
|
|
|
|
|
|
- name: SERVICE | Force start services
|
|
|
|
service: name={{ item }} state=started enabled=yes
|
|
|
|
register: sf
|
|
|
|
with_items:
|
|
|
|
- php-fpm
|
|
|
|
- fcgiwrap
|