Use variable for kibana conf path

This commit is contained in:
Manuel Gutierrez 2020-07-16 16:09:27 +02:00
parent 186301a12e
commit ff8caa8995
No known key found for this signature in database
GPG Key ID: CEB8789DAED15AAD
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ elasticsearch_http_port: "9200"
elasticsearch_network_host: "127.0.0.1" elasticsearch_network_host: "127.0.0.1"
kibana_server_host: "0.0.0.0" kibana_server_host: "0.0.0.0"
kibana_server_port: "5601" kibana_server_port: "5601"
kibana_conf_path: /etc/kibana
elastic_stack_version: 7.8.0 elastic_stack_version: 7.8.0
wazuh_version: 3.13.1 wazuh_version: 3.13.1
wazuh_app_url: https://packages.wazuh.com/wazuhapp/wazuhapp wazuh_app_url: https://packages.wazuh.com/wazuhapp/wazuhapp

View File

@ -132,7 +132,7 @@
- not build_from_sources - not build_from_sources
- name: Kibana optimization (can take a while) - name: Kibana optimization (can take a while)
shell: /usr/share/kibana/node/bin/node {{ node_options }} /usr/share/kibana/src/cli --optimize -c /etc/kibana/kibana.yml shell: /usr/share/kibana/node/bin/node {{ node_options }} /usr/share/kibana/src/cli --optimize -c {{ kibana_conf_path }}/kibana.yml
args: args:
executable: /bin/bash executable: /bin/bash
creates: /usr/share/kibana/optimize/wazuh/ creates: /usr/share/kibana/optimize/wazuh/