Added Kibana admin password

This commit is contained in:
Manuel J. Bernal 2020-05-07 14:50:01 +02:00
parent 5fd4988a88
commit 77c30c3bf0
3 changed files with 4 additions and 3 deletions

View File

@ -45,7 +45,8 @@ elasticrepo:
gpg: 'https://artifacts.elastic.co/GPG-KEY-opendistro' gpg: 'https://artifacts.elastic.co/GPG-KEY-opendistro'
key_id: '46095ACC8548582C1A2699A9D27D666CD88E42B4' key_id: '46095ACC8548582C1A2699A9D27D666CD88E42B4'
opendistro_admin_password: Test@123 opendistro_admin_password: changeme
opendistro_kibana_password: changeme
# Cluster Settings # Cluster Settings
single_node: true single_node: true
opendistro_cluster_name: wazuh opendistro_cluster_name: wazuh

View File

@ -91,7 +91,7 @@
- name: Set the kibanaserver user pasword - name: Set the kibanaserver user pasword
shell: > shell: >
sed -i 's,{{ kibanaserver_password }},'$(sh {{ opendistro_sec_plugin_tools_path }}/hash.sh -p {{ kibanaserver_password }} | tail -1)',' sed -i 's,{{ opendistro_kibana_password }},'$(sh {{ opendistro_sec_plugin_tools_path }}/hash.sh -p {{ opendistro_kibana_password }} | tail -1)','
{{ opendistro_sec_plugin_conf_path }}/internal_users.yml {{ opendistro_sec_plugin_conf_path }}/internal_users.yml
run_once: true run_once: true
when: install.changed when: install.changed

View File

@ -16,6 +16,6 @@ admin:
description: "admin user" description: "admin user"
kibanaserver: kibanaserver:
hash: "{{ kibanaserver_password }}" hash: "{{ opendistro_kibana_password }}"
reserved: true reserved: true
description: "kibanaserver user" description: "kibanaserver user"