infra/roles/nginx-role/tasks/setup-FreeBSD.yml

15 lines
272 B
YAML
Raw Normal View History

2019-06-29 01:27:16 +04:00
---
- name: Update pkg cache.
command: pkg update -f
tags: ['skip_ansible_lint']
- name: Ensure nginx is installed.
pkgng:
name: "{{ nginx_package_name }}"
state: present
- name: Create logs directory.
file:
path: /var/log/nginx
state: directory