parent
e818255465
commit
3d71531209
@ -0,0 +1,13 @@ |
|||||||
|
--- |
||||||
|
- 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 |
@ -0,0 +1,9 @@ |
|||||||
|
--- |
||||||
|
root_group: wheel |
||||||
|
nginx_conf_path: /usr/local/etc/nginx/conf.d |
||||||
|
nginx_conf_file_path: /usr/local/etc/nginx/nginx.conf |
||||||
|
nginx_mime_file_path: /usr/local/etc/nginx/mime.types |
||||||
|
nginx_pidfile: /var/run/nginx.pid |
||||||
|
nginx_vhost_path: /usr/local/etc/nginx/sites-enabled |
||||||
|
nginx_default_vhost_path: /usr/local/etc/nginx/sites-enabled/default |
||||||
|
__nginx_user: "www" |
Reference in new issue