parent
3d8591fa17
commit
32d536242d
@ -0,0 +1,10 @@ |
|||||||
|
--- |
||||||
|
- name: Ensure nginx is installed. |
||||||
|
openbsd_pkg: |
||||||
|
name: "{{ nginx_package_name }}" |
||||||
|
state: present |
||||||
|
|
||||||
|
- name: Create logs directory. |
||||||
|
file: |
||||||
|
path: /var/log/nginx |
||||||
|
state: directory |
@ -0,0 +1,10 @@ |
|||||||
|
--- |
||||||
|
root_group: wheel |
||||||
|
nginx_conf_path: /etc/nginx/conf.d |
||||||
|
nginx_conf_file_path: /etc/nginx/nginx.conf |
||||||
|
nginx_mime_file_path: /etc/nginx/mime.types |
||||||
|
nginx_pidfile: /var/run/nginx.pid |
||||||
|
nginx_vhost_path: /etc/nginx/sites-enabled |
||||||
|
nginx_default_vhost_path: /etc/nginx/sites-enabled/default |
||||||
|
nginx_package_name: "nginx--" |
||||||
|
__nginx_user: "www" |
Reference in new issue