Updated this PR with the new changes of indexer-ism-init script
This commit is contained in:
parent
a69937e533
commit
9835b2f3bc
@ -16,8 +16,3 @@ certs_gen_tool_version: 4.8
|
|||||||
|
|
||||||
# Url of certificates generator tool
|
# Url of certificates generator tool
|
||||||
certs_gen_tool_url: "https://packages.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"
|
certs_gen_tool_url: "https://packages.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"
|
||||||
|
|
||||||
rollover_alias_tool_version: 4.8
|
|
||||||
|
|
||||||
# Url of certificates generator tool
|
|
||||||
rollover_alias_url: "https://packages.wazuh.com/{{ rollover_alias_tool_version }}/indexerRolloverInit.sh"
|
|
||||||
|
|||||||
@ -16,8 +16,3 @@ certs_gen_tool_version: 4.8
|
|||||||
|
|
||||||
# Url of certificates generator tool
|
# Url of certificates generator tool
|
||||||
certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"
|
certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"
|
||||||
|
|
||||||
rollover_alias_tool_version: 4.8
|
|
||||||
|
|
||||||
# Url of certificates generator tool
|
|
||||||
rollover_alias_url: "https://packages-dev.wazuh.com/{{ rollover_alias_tool_version }}/indexerRolloverInit.sh"
|
|
||||||
@ -15,8 +15,3 @@ certs_gen_tool_version: 4.8
|
|||||||
|
|
||||||
# Url of certificates generator tool
|
# Url of certificates generator tool
|
||||||
certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"
|
certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"
|
||||||
|
|
||||||
rollover_alias_tool_version: 4.8
|
|
||||||
|
|
||||||
# Url of certificates generator tool
|
|
||||||
rollover_alias_url: "https://packages-dev.wazuh.com/{{ rollover_alias_tool_version }}/indexerRolloverInit.sh"
|
|
||||||
@ -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/
|
||||||
|
|
||||||
|
|||||||
@ -94,18 +94,11 @@
|
|||||||
register: result
|
register: result
|
||||||
until: result.rc == 0
|
until: result.rc == 0
|
||||||
|
|
||||||
- name: Download Rollover alias script
|
|
||||||
get_url:
|
|
||||||
url: "{{ rollover_alias_url }}"
|
|
||||||
dest: "{{ indexer_conf_path }}/indexerRolloverAlias.sh"
|
|
||||||
mode: 744
|
|
||||||
|
|
||||||
- name: Initialize Rollover alias
|
- name: Initialize Rollover alias
|
||||||
command: >
|
command: >
|
||||||
{{ indexer_conf_path }}/indexerRolloverAlias.sh
|
{{ indexer_bin_path }}/indexer-ism-init.sh
|
||||||
environment:
|
-p {{ indexer_admin_password }}
|
||||||
INDEXER_PASSWORD: "{{ indexer_admin_password }}"
|
-i {{ target_address }}
|
||||||
INDEXER_HOSTNAME: "{{ target_address }}"
|
|
||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user