ansible-roles/kibana/tasks/proxy_nginx.yml

21 lines
546 B
YAML
Raw Normal View History

2016-11-22 15:29:19 +01:00
---
2016-11-23 16:52:58 +01:00
- name: Example proxy for Kibana with Nginx (with SSL)
2016-11-22 15:29:19 +01:00
template:
2016-11-23 16:52:58 +01:00
src: nginx_proxy_kibana_ssl.j2
dest: /etc/nginx/sites-available/kibana_ssl.conf
2016-11-22 15:29:19 +01:00
force: no
2016-11-23 16:52:58 +01:00
- name: Example proxy for Kibana with Nginx (without SSL)
template:
src: nginx_proxy_kibana_nossl.j2
dest: /etc/nginx/sites-available/kibana_nossl.conf
force: no
# - name: Kibana host in Nginx is enabled
# file:
# src: /etc/nginx/sites-available/kibana.conf
# dest: /etc/nginx/sites-enabled/kibana.conf
# state: link
# notify: reload nginx