Skip to content
Snippets Groups Projects
Commit 6a618aea authored by root's avatar root
Browse files

fixes to migrate elasticsearch/odfe/kibana with opensearch and opensearch dashboards

parent a2f04ffe
Branches
Tags
1 merge request!5Migrate from ODFE to OpenSearch
......@@ -80,6 +80,7 @@ opensearchdashboards_img: "{{repo}}/opensearch-dashboards:{{version}}{{suffix}}"
elk_version: "oss-7.4.2"
#odfeplugin_version: "1.7.0.0"
odfeplugin_version: "1.4.0.0"
kibana_plugins_version: "v0.7"
openid_realm: "SOCTOOLS1"
openid_scope: profile
......
---
#- name: Install the Hive Button plugin
# copy:
# src: "/tmp/kibana-plugins-{{kibana_plugins_version}}/thehive_button"
# dest: "/usr/share/kibana/plugins"
# owner: kibana
# remote_src: yes
- name: Download kibana plugins
get_url:
url: "https://gitlab.geant.org/gn4-3-wp8-t3.1-soc/kibana-plugins/-/archive/{{ kibana_plugins_version }}/kibana-plugins-{{kibana_plugins_version}}.tar.gz"
dest: /tmp/kibana_plugins.tar.gz
- name: Gunzip kibana plugins
unarchive:
src: "/tmp/kibana_plugins.tar.gz"
dest: /tmp
remote_src: yes
- name: Install the Hive Button plugin
copy:
src: "/tmp/kibana-plugins-{{kibana_plugins_version}}/thehive_button"
dest: "/opt/opensearch-dashboards/plugins"
owner: dashboards
remote_src: yes
- name: Copy cacert to ca-trust dir
remote_user: root
......@@ -44,13 +55,13 @@
with_items:
- opensearch_dashboards.yml
#- name: Generate configuration for thehive_button plugin
# remote_user: dashboards
# template:
# src: files/env.js.j2
# dest: "/opt/opensearch-dashboards/plugins/thehive_button/public/env.js"
# owner: dashboards
# group: dashboards
- name: Generate configuration for thehive_button plugin
remote_user: dashboards
template:
src: files/env.js.j2
dest: "/opt/opensearch-dashboards/plugins/thehive_button/public/env.js"
owner: dashboards
group: dashboards
- name: Start Opensearch Dashboards
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment