Kibana role: Updating tasks, config template and set kibana listen port

This commit is contained in:
Miguelangel Freitas 2017-07-13 09:31:34 -04:00
parent bda913238b
commit cffbfcfb8e
3 changed files with 4 additions and 3 deletions

View File

@ -2,4 +2,5 @@
elasticsearch_http_port: "9200"
elasticsearch_network_host: "127.0.0.1"
kibana_server_host: "0.0.0.0"
kibana_server_port: "5601"
elk_stack_version: 5.4.0

View File

@ -19,14 +19,14 @@
notify: restart kibana
tags: configure
- name: Checking Wazuh-APP version compatibility
- name: Checking Wazuh-APP version
shell: "grep -c -E 'version.*{{ elk_stack_version }}' /usr/share/kibana/plugins/wazuh/package.json | xargs echo"
args:
removes: /usr/share/kibana/plugins/wazuh/package.json
register: wazuh_app_verify
tags: install
- name: Removing Wazuh-APP by compatibility issues
- name: Upgrading Wazuh-APP
shell: "{{ item }}"
when: wazuh_app_verify.stdout == "0"
with_items:

View File

@ -1,6 +1,6 @@
# {{ ansible_managed }}
# Kibana is served by a back end server. This setting specifies the port to use.
#server.port: 5601
server.port: {{ kibana_server_port }}
# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values.
# The default is 'localhost', which usually means remote machines will not be able to connect.