Add sleep before securityadmin

This commit is contained in:
Gonzalo Acuña 2022-02-15 12:10:24 -03:00
parent 847de7c752
commit 4bccd0f970
No known key found for this signature in database
GPG Key ID: 646BA79A313A2270

View File

@ -98,6 +98,10 @@
indexer_password_hash: "{{ indexer_kibanaserver_password_hashed.stdout_lines | last }}"
run_once: true
- name: Pause for 2 minute
pause:
minutes: 2
- name: Initialize the Opensearch security index in Wazuh-Indexer
command: >
sudo -u wazuh-indexer OPENSEARCH_PATH_CONF={{ indexer_conf_path }}