ansible-role-nginx/tests/playbooks/nginx-template.yml

21 lines
536 B
YAML
Raw Permalink Normal View History

2018-04-16 22:28:32 +02:00
---
- 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