13a847234e
* Add more advanced HTTP templating options * Let users choose the upload destination when uploading files * Implement the ability to print your NGINX configuration to your terminal after running a playbook
21 lines
536 B
YAML
21 lines
536 B
YAML
---
|
|
- hosts: localhost
|
|
become: true
|
|
remote_user: root
|
|
roles:
|
|
- ansible-role-nginx
|
|
vars:
|
|
nginx_http_template_enable: true
|
|
nginx_http_template:
|
|
default:
|
|
template_file: http/default.conf.j2
|
|
conf_file_name: default.conf
|
|
conf_file_location: /etc/nginx/conf.d/
|
|
port: 80
|
|
server_name: localhost
|
|
error_page: /usr/share/nginx/html
|
|
web_server:
|
|
html_file_location: /usr/share/nginx/html
|
|
html_file_name: index.html
|
|
http_demo_conf: false
|