nginx/tasks/setup-FreeBSD.yml

14 lines
240 B
YAML
Raw Permalink Normal View History

2019-04-14 13:51:48 +00:00
---
- name: Update pkg cache.
shell: pkg update -f
- name: Ensure nginx is installed.
pkgng:
name: "{{ nginx_package_name }}"
state: present
- name: Create logs directory.
file:
path: /var/log/nginx
state: directory