ansible-roles/kibana/tasks/proxy_nginx.yml

21 lines
584 B
YAML
Raw Permalink 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)
ansible.builtin.template:
2016-11-23 16:52:58 +01:00
src: nginx_proxy_kibana_ssl.j2
dest: /etc/nginx/sites-available/kibana_ssl.conf
2023-06-28 13:22:59 +02:00
force: false
2016-11-22 15:29:19 +01:00
2016-11-23 16:52:58 +01:00
- name: Example proxy for Kibana with Nginx (without SSL)
ansible.builtin.template:
2016-11-23 16:52:58 +01:00
src: nginx_proxy_kibana_nossl.j2
dest: /etc/nginx/sites-available/kibana_nossl.conf
2023-06-28 13:22:59 +02:00
force: false
2016-11-23 16:52:58 +01:00
# - 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