Closed rodolfovillordo closed 1 year ago
PR for the fix: https://github.com/opensearch-project/ansible-playbook/pull/81
@rodolfovillordo. Starting from version 2.x.x, the opensearch-security configuration files are moved to /usr/share/opensearch/config/opensearch-security
. So if we specify the os_sec_plugin_conf_path
like this, everything works fine:
os_sec_plugin_conf_path: /usr/share/opensearch/config/opensearch-security
Already tested on my local machines.
Related MR: https://github.com/opensearch-project/security/pull/1749
@rodolfovillordo. Starting from version 2.x.x, the opensearch-security configuration files are moved to
/usr/share/opensearch/config/opensearch-security
. So if we specify theos_sec_plugin_conf_path
like this, everything works fine:os_sec_plugin_conf_path: /usr/share/opensearch/config/opensearch-security
Already tested on my local machines.
Related MR: opensearch-project/security#1749
The path in 2.x is moved to opensearchroot/config/opensearch-security
not in plugins/opensearch-security/securityconfig
anymore.
https://github.com/opensearch-project/opensearch-plugins/issues/127
Describe the bug
The Playbook execution fails at the task
Security Plugin configuration | Copy the opensearch security internal users template execution
on a single-node deployment. Tested on an EC2 Ubuntu instance.To Reproduce Steps to reproduce the behavior:
Change the cluster_type variable to single-nodeunnecessary step ref: https://github.com/opensearch-project/ansible-playbook/pull/81#issuecomment-1190240510Expected behavior Finish the deployment without errors.
Playbook Name Specify the Playbook which is affected? roles/linux/opensearch/tasks/security.yml
Screenshots N/A
Host/Environment (please complete the following information):
Additional context The task
Security Plugin configuration | Copy the opensearch security internal users template execution
assumes that the{{ os_sec_plugin_conf_path }}
already exists when copying the internal_users template. However, the template module does not create parent directories.