ansible-playbook icon indicating copy to clipboard operation
ansible-playbook copied to clipboard

[BUG][opensearch.yml]task failures with non-standard os_api_port

Open stephan0859 opened this issue 2 years ago • 1 comments

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.

stephan0859 avatar Jan 10 '23 08:01 stephan0859

Need to reproduce the issue to debug. @prudhvigodithi

rishabh6788 avatar Jan 19 '23 22:01 rishabh6788