ansible-nginx/tests/includes/pre_FreeBSD.yml

26 lines
501 B
YAML
Raw Normal View History

---
- name: SET_FACT | FreeBSD web user
set_fact:
nginx_pkgng_package: 'nginx-devel'
nginx_user: 'www'
nginx_php7: false
nginx_php5_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
- 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