Indexer security actions updated
This commit is contained in:
parent
41dfecbdf8
commit
7ba3f4bf75
@ -45,13 +45,13 @@
|
||||
mode: 0644
|
||||
run_once: true
|
||||
|
||||
- block:
|
||||
- name: Hashing the custom admin password
|
||||
shell: |
|
||||
export JAVA_HOME=/usr/share/wazuh-indexer/jdk
|
||||
{{ indexer_sec_plugin_tools_path }}/hash.sh -p {{ indexer_admin_password }}
|
||||
register: indexer_admin_password_hashed
|
||||
no_log: '{{ indexer_nolog_sensible | bool }}'
|
||||
run_once: true
|
||||
|
||||
- name: Set the Admin user password
|
||||
replace:
|
||||
@ -68,7 +68,6 @@
|
||||
{{ indexer_sec_plugin_tools_path }}/hash.sh -p {{ dashboard_password }}
|
||||
register: indexer_kibanaserver_password_hashed
|
||||
no_log: '{{ indexer_nolog_sensible | bool }}'
|
||||
run_once: true
|
||||
|
||||
- name: Set the kibanaserver user password
|
||||
replace:
|
||||
@ -94,6 +93,8 @@
|
||||
delay: 5
|
||||
register: result
|
||||
until: result.rc == 0
|
||||
run_once: true
|
||||
|
||||
|
||||
- name: Create custom user
|
||||
uri:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user