ansible-playbook
ansible-playbook copied to clipboard
[BUG][opensearch.yml]task failures with non-standard os_api_port
Describe the bug If os_api_port is changed to a non-standard value (in a multi-node cluster), various tasks fail
To Reproduce
- Define an inventory for a multi-node OS cluster
- Define a custom os_api_port value other than 9200 in either the inventory or group_vars
- Run the the opensearch.yml playbook
Expected behavior Multi-node OS cluster to be fully functional
Playbook Name Playbook: opensearch.yml Task files:
- roles/linux/opensearch/tasks/main.yml (both curl commands)
- roles/linux/opensearch/tasks/security.yml (both securityadmin.sh shell tasks)
Screenshots N/A
Host/Environment (please complete the following information):
- Ansible Version: 2.9.27
- Playbook Version: current (last commit: 2022-12-13)
Additional context I could try to create a patch if that helps.
Need to reproduce the issue to debug. @prudhvigodithi