ansible-nginx/tests/includes/pre_FreeBSD.yml

32 lines
547 B
YAML
Raw Normal View History

---
- name: SET_FACT | FreeBSD web user
set_fact:
nginx_pkgng_package: 'nginx-devel'
nginx_user: 'www'
nginx_php:
- version: '5.6'
sockets:
- host: '127.0.0.1'
port: 9000
2016-03-05 23:26:05 +07:00
- name: PKGNG | Install needed packages
2017-10-03 22:57:35 +07:00
pkgng:
pkg: "{{ item }}"
state: present
2016-03-05 23:26:05 +07:00
with_items:
- php56
- curl
- fcgiwrap
- nghttp2
2016-03-05 23:26:05 +07:00
- name: SERVICE | Force start services
2017-10-03 22:57:35 +07:00
service:
name: "{{ item }}"
state: started
enabled: yes
2016-03-05 23:26:05 +07:00
register: sf
with_items:
- php-fpm
- fcgiwrap