Merge pull request #1197 from wazuh/1196-adapt-vd-to-wazuh-keystore-for-indexer-configuration
VD keystore changes
This commit is contained in:
commit
e72837de1e
@ -37,6 +37,22 @@
|
||||
- include_tasks: "Debian.yml"
|
||||
when: ansible_os_family == "Debian"
|
||||
|
||||
- name: Generate the wazuh-keystore (username)
|
||||
shell: >
|
||||
/var/ossec/bin/wazuh-keystore -f indexer -k username -v {{ indexer_security_user }}
|
||||
notify: restart wazuh-manager
|
||||
tags:
|
||||
- init
|
||||
- config
|
||||
|
||||
- name: Generate the wazuh-keystore (password)
|
||||
shell: >
|
||||
/var/ossec/bin/wazuh-keystore -f indexer -k password -v {{ indexer_security_password }}
|
||||
notify: restart wazuh-manager
|
||||
tags:
|
||||
- init
|
||||
- config
|
||||
|
||||
- name: Install expect
|
||||
package:
|
||||
name: expect
|
||||
|
||||
@ -272,8 +272,6 @@
|
||||
{% endfor %}
|
||||
</hosts>
|
||||
|
||||
<username>{{ indexer_security_user }}</username>
|
||||
<password>{{ indexer_security_password }}</password>
|
||||
<ssl>
|
||||
<certificate_authorities>
|
||||
<ca>{{ filebeat_ssl_dir }}/root-ca.pem</ca>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user