Merge pull request #1110 from wazuh/1109-enhacement-rolloveralias
Rollover alias script execution added
This commit is contained in:
commit
971ea76ede
@ -28,6 +28,7 @@ domain_name: wazuh.com
|
|||||||
|
|
||||||
indexer_sec_plugin_conf_path: /etc/wazuh-indexer/opensearch-security
|
indexer_sec_plugin_conf_path: /etc/wazuh-indexer/opensearch-security
|
||||||
indexer_sec_plugin_tools_path: /usr/share/wazuh-indexer/plugins/opensearch-security/tools
|
indexer_sec_plugin_tools_path: /usr/share/wazuh-indexer/plugins/opensearch-security/tools
|
||||||
|
indexer_bin_path: /usr/share/wazuh-indexer/bin
|
||||||
indexer_conf_path: /etc/wazuh-indexer
|
indexer_conf_path: /etc/wazuh-indexer
|
||||||
indexer_index_path: /var/lib/wazuh-indexer/
|
indexer_index_path: /var/lib/wazuh-indexer/
|
||||||
|
|
||||||
|
|||||||
@ -93,8 +93,16 @@
|
|||||||
delay: 5
|
delay: 5
|
||||||
register: result
|
register: result
|
||||||
until: result.rc == 0
|
until: result.rc == 0
|
||||||
run_once: true
|
|
||||||
|
|
||||||
|
- name: Initialize ISM script
|
||||||
|
command: >
|
||||||
|
{{ indexer_bin_path }}/indexer-ism-init.sh
|
||||||
|
-p {{ indexer_admin_password }}
|
||||||
|
-i {{ target_address }}
|
||||||
|
become: yes
|
||||||
|
become_user: root
|
||||||
|
|
||||||
|
run_once: true
|
||||||
|
|
||||||
- name: Create custom user
|
- name: Create custom user
|
||||||
uri:
|
uri:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user