opensearch-project / ansible-playbook

🤖 A community repository for Ansible Playbook of OpenSearch Project.
https://opensearch.org/
Apache License 2.0
81 stars 97 forks source link

Fix securityadmin.sh when copy_custom_security_configs is False #85

Closed rodolfovillordo closed 1 year ago

rodolfovillordo commented 2 years ago

Signed-off-by: Rodolfo Camara Villordo rodolfovillordo@gmail.com

Description

Chenge condition to execute the securityadmin.sh script with the parameter -cd only when copy_custom_security_configs is true. Also add a task to execute securityadmin.sh with parameter -f when copy_custom_security_configs is set to false.

Issues Resolved

fix #83

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

peterzhuamazon commented 1 year ago

Need to backport to 1.x branch with no changes.