ansible-nginx/tasks/install_FreeBSD.yml

16 lines
329 B
YAML
Raw Normal View History

2016-03-05 21:07:39 +07:00
---
- name: PKGNG | Install nginx and related tools
pkgng: name=nginx state=present
with_items:
- nginx
- py27-passlib
- curl
- name: FILE | Create configuration dir (like Debian)
file: path="{{ nginx_etc_dir }}/{{ item }}" state=directory
with_items:
- conf.d
- sites-available
- sites-enabled